#3671 closed enhancement (fixed)
Allow new ENVI header file type
Reported by: | verosk | Owned by: | chaitanya |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | envi |
Cc: | verosk, warmerdam |
Description
Some old software produces .hdr with "file_type" set to "ENVI" instead of "ENVI Standard". I suggest to allow reading "ENVI" in the same way as "ENVI Standard".
Supposed patch: trunk/gdal/frmts/raw/envidataset.cpp (line 1852)
from
if(!EQUAL(pszEnviFileType, "ENVI Standard") && !EQUAL(pszEnviFileType, "ENVI Classification"))
change to
if(!EQUAL(pszEnviFileType, "ENVI Standard") && !EQUAL(pszEnviFileType, "ENVI") && // needed for old software !EQUAL(pszEnviFileType, "ENVI Classification"))
Program which produces this file is Caligeo from software package accompanying hyperspectral airborne sensor AISA/Eagle.
Attachments (1)
Change History (6)
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Cc: | added |
---|---|
Keywords: | hdr gdal removed |
Owner: | changed from | to
by , 14 years ago
Attachment: | 0629-0801.hdr added |
---|
hdr file generated by caligeo (data file is 1103831040 bytes long)
comment:3 by , 14 years ago
Milestone: | → 1.6.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | 1.5.4 → svn-trunk |
comment:4 by , 14 years ago
Yes, just "ENVI" is used as "ENVI standard" by Caligeo.
Thank you for your applying.
Note:
See TracTickets
for help on using tickets.
Chaitanya,
Could you take care of this?
"Verosk",
Could you supply such a header for verification purposes?