logo       

Re: esri .hdr open problem; minor hdf4 channels issue: msg#00155

gis.gdal.devel

Subject: Re: esri .hdr open problem; minor hdf4 channels issue

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@xxxxxxxxx
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise