Roger André wrote:
Hi All,

Just had an email from a client complaining about the "nan" values that I included in some Arc/Info ASCII Grid files that I sent them. The files were created by converting GeoTIFF's into ASCII Grid format via gdal_translate. I personally like that the "nan's" were carried through, but I would like to know if there is a way that I can map the "nan" into a "-9999" value via the gdal utilities?

Roger,

I'm not aware of a way to convert NaN values to an actual value with the
GDAL command line utilities.  You could accomplish this with a program,
or a python script.  You could also potentially do it with by ascii
search and replace in the resulting grid file.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to