[Gdal-dev] GTOPO30 and max value
Frank Warmerdam
warmerdam at pobox.com
Wed May 30 20:41:34 EDT 2007
Markus Neteler wrote:
> Frank,
>
> it looks like this:
>
> cat W100N40.HDR
> BYTEORDER M
> LAYOUT BIL
> NROWS 6000
> NCOLS 4800
> NBANDS 1
> NBITS 16
> BANDROWBYTES 9600
> TOTALROWBYTES 9600
> BANDGAPBYTES 0
> NODATA -9999
> ULXMAP -99.99583333333334
> ULYMAP 39.99583333333333
> XDIM 0.00833333333333
> YDIM 0.00833333333333
Markus,
You can add the "PIXELTYPE SIGNEDINT" line in the .hdr to force
interpretation of the file as signed rather than unsigned integers.
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 | President OSGeo, http://osgeo.org
More information about the Gdal-dev
mailing list