[Gdal-dev] floating point bug
Thom DeCarlo
t.r.decarlo at larc.nasa.gov
Tue May 11 13:59:10 EDT 2004
Frank,
There is a field in the hdr file called "nbits". The way I understand it,
this usually has one of three different values.
If nbits = 16, data is integer.
If nbits = 32, data is single-precision float
If nbits = 64, data is double-precision float
I hope I'm right on this. That's the way I've been using it, anyway.
Thom
-----Original Message-----
From: Frank Warmerdam
Sent: Tuesday, May 11, 2004 1:23 PM
To: gdal-dev at remotesensing.org
Subject: Re: [Gdal-dev] floating point bug
[snip]
GDAL does not support floating point ESRI bil files. I don't know what they
put in the .hdr file to indicate floating point. So the file is misused as
integer and all the values are crazy. Can you provide the .hdr file so I
can
see if there are any clues it is floating point?
More information about the Gdal-dev
mailing list