[Gdal-dev] esri .hdr open problem; minor hdf4 channels issue

Frank Warmerdam warmerdam at pobox.com
Fri Sep 26 10:01:14 EDT 2003


Vladimir Slepnev wrote:
> Well, here's an ESRI header file for a dataset that is giving us
> problems; when reading through GDAL, all channels appear identical to
> the first one. Could it be because BANDGAPBYTES==0?

...
> NROWS          166
> NCOLS          166
> NBANDS         3
> NBITS          8
> BYTEORDER      I
> LAYOUT         BIL
> SKIPBYTES      0
> ULXMAP         0.000
> ULYMAP         0.000
> XDIM           1.000
> YDIM           1.000
> BANDROWBYTES   166
> TOTALROWBYTES  498
> BANDGAPBYTES   0

Vladimir,

The ESRI BIL driver was completely broken for multi-band files.  I have
made some corrections, and committed them to CVS.  Let me know if your problems
persist.  You can add notes to the existing bug report at:

   http://bugzilla.remotesensing.org/show_bug.cgi?id=401

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