Ticket #2239 (closed defect: fixed)
EHdr driver incorrectly identifies the file containing raw data
| Reported by: | dron | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | default | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I have a directory containing the following list of files (MrSID DSDK data samples):
meg_cr20.bip meg_cr20.hdr meg_cr20.jp2 meg_cr20.jpg meg_cr20.raw meg_cr20.sid meg_cr20.tif
When trying to read meg_cr20.jp2 or meg_cr20.sid GDAL tries to interpret them as being in EHdr/ESRI format with the meg_cr20.hdr being a header:
LAYOUT BIP NROWS 480 NCOLS 640 NBANDS 3 NBITS 8 ULXMAP 0.000000000000000 ULYMAP 479.000000000000000 XDIM 1.000000000000000 YDIM 1.000000000000000
I have tried (successfully) to fix this with r13820 in trunk, but maybe it should be reverted and the driver fixed instead.
Best regards, Andrey
Change History
Note: See
TracTickets for help on using
tickets.
