[Gdal-dev] GDAL Translate and PNM format

Andrey Kiselev dron at ak4719.spb.edu
Tue Mar 11 02:53:40 EST 2003


On Mon, Mar 10, 2003 at 07:59:21PM -0500, Jim Julian wrote:
>    The BIL file was originally an HGF from the SRTM download site mentioned 
>    by
> Markus Neteler. The files seem to be DEM files and contain a no_data value
> which is negative.

In this case val_repl.py script (in /pymod/samples directory) will help
you. With this script you can replace negative NoData by the more
appropriate one. Something like:

val_repl.py -innd -500 -outnd 0 infile outfile


-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517



More information about the Gdal-dev mailing list