#4659 closed defect (fixed)
HFA files with undefined datum have no projection info
Reported by: | jeepingben | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.0.0 |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | HFA imagine datum |
Cc: |
Description
I have several HFA files with undefined datum. When I load them using GDALopen, the resulting dataset has no projection information available. The images load in Erdas Viewfinder. Attached is my proposed fix. This looks like a logic error in HFAdataset.
Attachments (2)
Change History (8)
by , 12 years ago
Attachment: | hfa-datum.patch added |
---|
comment:1 by , 12 years ago
Component: | default → GDAL_Raster |
---|---|
Keywords: | HFA imagine datum added |
Version: | unspecified → svn-trunk |
comment:3 by , 12 years ago
The files I have are part of the example data that came with Erdas. I think they are copyrighted. The file called lndem.img is a good example. GDAL failed to get geo info without the change attached above.
by , 9 years ago
Attachment: | sampleimage.zipx added |
---|
image showing hte problem. Sorry about the compression - only way to get below size limit.
comment:4 by , 9 years ago
I just noticed that this was never resolved. The line numbers in my patch are now incorrect. The block to be replaced is now at line 5014 in hfadataset.cpp. I can rebuild the patch if needed, but this is a pretty easy one to apply manually.
comment:5 by , 9 years ago
Milestone: | → 2.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
parentheses are hard to get right.