Opened 12 years ago

Closed 12 years ago

#4131 closed defect (fixed)

ECW ignores position (and other) data when it has an external file

Reported by: idos Owned by: warmerdam
Priority: low Milestone: 1.8.1
Component: GDAL_Raster Version: unspecified
Severity: minor Keywords: ECW, GeoTransform


The GetGeoTransform method of ECWDataSet first checks if the data-set is using an external (via the GDALPamDataset class) coordinate system defintion (the code is a bit confusing, but that's what it does). But, in case there is only a coordinate definition and no geo-transform data in the PamDataset source, the method will fail, even if the geo-transform data is included in the ecw file's metadata. I think it should simply be changed so that in case GDALPanDataset returns an error, it will return its own GeoTransform matrix anyway (just like in the case there's no external coordinate system).

Change History (1)

comment:1 by Even Rouault, 12 years ago

Component: defaultGDAL_Raster
Milestone: 1.8.1
Resolution: fixed
Status: newclosed

r22589 /branches/1.8/gdal/frmts/ecw/ecwdataset.cpp: ECW: ensure we fallback to native geotransform if no pam override (#4131, backport of r22135)

Note: See TracTickets for help on using tickets.