Opened 18 years ago
Last modified 18 years ago
#1035 closed defect (fixed)
GDAL: Writing Albers Projection to HFA format
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | minor | Keywords: | |
Cc: |
Description
When creating images in ERDAS Imagine HFA format using the Albers Conical Equal Area projection, ERDAS does not recognize the projection as valid. The problem is that ERDAS expects Albers Conic"AL" Equal Area and GDAL writes the projection name as Albers Conic Equal Area (no "AL"). The projection is read correctly using the same HFA files in ENVI or ArcGIS, so it is an ERDAS issue. RESOLUTION: I modified the source for the HFA driver to add the "al" to the projection name. File: GDAL_ROOT\frmts\hfa\hfadataset.cpp Line: 1491 Original: sPro.proName = "Albers Conic Equal Area"; Changed to: sPro.proName = "Albers Conical Equal Area"; This appears to correct the issue. I tested a small number of images after making this fix and rebuilding GDAL and found the projection information to be read correctly in ERDAS, ENVI and ArcGIS. Versions: GDAL 1.3.1 ERDAS Imagine 8.7 ENVI 4.0 ArcGIS 9.1
Note:
See TracTickets
for help on using tickets.