Hi All:

I'm very new to Mapnik, so please be patient with a dumb question!

I'm trying to use Mapnik to read a DTED file from my Python program.  I
modified the GDAL example found in
"mapnik-utils-read-only\example_code\gdal" by simply changing this line:

            lyr.datasource = Gdal(file='blake2rgb.tif')

to point to my DTED file:

lyr.datasource = Gdal(file='n44.dt2')

The resulting PNG file appears to be a single band with only a very few
values displayed.  I think this is because DTED null value is "-32,767".

Is there a way to make this value something more manageable before
calling "render_to_file"?

THANXS!!!

amb

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to