[Gdal-dev] processing SRTM-3?

Frank Warmerdam warmerdam at pobox.com
Wed Jul 28 16:29:50 EDT 2004


Thom DeCarlo wrote:
> Frank Warmerdam wrote:
> 
>>Thom,
>>
>>Sometime relatively recently a hack was put into the GDAL GTiff driver to
>>save a nodata valuei in a GDAL-custom tag in the TIFF file.  It isn't
>>likely
>>that any non-GDAL application will recognise the nodata value in the TIFF
>>file.
>>
>>Best regards,
>>--
> 
> 
> Ok, then I still need to find a way to change the values in the data from
> the current -32768 to the default value of -9999. Any ideas?

Thom,

Take a look at gdal/pymod/samples/val_repl.py.  It should do what you want I
think.

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
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list