#3741 closed enhancement (fixed)
ENVI .hdr file parsing
Reported by: | verosk | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | 1.5.4 |
Severity: | normal | Keywords: | envi |
Cc: | verosk |
Description
Some legacy software produces .hdr files with fields separated by '\t'
(in addition of standard space '\x20'
).
Although ENVI can read such files without problems, GDAL refuses because of invalid header ,
The file appears to have an associated ENVI header, but one or more of the samples, lines, bands and interleave keywords appears to be missing."
I suggest applying attached patch to GDAL core to make reading of ENVI .hdr more robust.
--Veros
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | gdal.patch added |
---|
comment:1 by , 13 years ago
Keywords: | envi added |
---|---|
Status: | new → assigned |
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Approximation of patch applied without the wavelength metadata change. Done in trunk (r20530).
Note:
See TracTickets
for help on using tickets.
Robust .hdr reading patch