[gdal-dev] Working between GeoTIFF's and Arc/Info ASCII Grid
formats with NAN values
Roger André
randre at gmail.com
Tue Dec 9 20:34:36 EST 2008
ROTFL "You could also potentially do it with by ascii search and replace in
the resulting grid file"
You are SO right! I had totally forgotten that this was ASCII output. Doh!
Thanks Frank.
--
On Tue, Dec 9, 2008 at 5:24 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> 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,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam<http://pobox.com/%7Ewarmerdam>
> and watch the world go round - Rush | Geospatial Programmer for Rent
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20081209/2770cd48/attachment.html
More information about the gdal-dev
mailing list