[Gdal-dev] ESRI flt nbits issue

Markus Neteler neteler at itc.it
Fri Jan 20 06:12:17 EST 2006


Hi,

I was trying to use an ESRI .flt file:

gdalinfo edenglcc2kfor.flt
ERROR 6: EHdr driver does not support 1541835190 NBITS value.
GDALOpen failed - 6
EHdr driver does not support 1541835190 NBITS value.

It seems that 'nbits' is not initialized if missing
in the header file:

ncols         10018
nrows         8200
xllcorner     -20
yllcorner     6.17
cellsize      0.008333
NODATA_value  -9999
byteorder     LSBFIRST

-rw-rw-rw-  1 neteler ssi        69 Oct 13 16:08 edenglcc2kfor.prj
-rw-rw-rw-  1 neteler ssi 328590400 Oct 13 16:08 edenglcc2kfor.flt
-rw-rw-rw-  1 neteler ssi      3598 Oct 14 12:51 edenglcc2kfor.xml
-rw-rw-rw-  1 neteler ssi       167 Jan 20 10:47 edenglcc2kfor.hdr

Maybe the driver could be enabled to guess the nbits size if
missing inte the .hdr file?

The dataset is available here if needed:
 http://ergodd.zoo.ox.ac.uk/eden/pubdata/glcc2k/edenglcc2kforflt.zip

To my knowledge, the files were generated with ESRI software.
A related XML file contains this reference:
  <distributionformat>Zipped archive of arcViewgrids</distributionformat>
  <datafilename>edenglcc2kforflt.zip</datafilename>


Thanks for help,
 Markus




More information about the Gdal-dev mailing list