Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#4067 closed defect (fixed)

ERS file driver not handling case of 1 m pixel resolutions correctly

Reported by: sran Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: GDAL_Raster Version: 1.8.0
Severity: normal Keywords:
Cc:

Description

For the case of pixel resolutions of 1 unit, ER Mapper 7.2 omits to write the RasterInfo.CellInfo group in the ERS file. This results in the failure of gdal to create a geotransform for the dataset. It looks like poHeader->Find( "RasterInfo.CellInfo.Xdimension", NULL ) in ersdataset.cpp should not be part of the criterion to determine the presence of a geotransform.

Attachments (2)

test.zip (18.8 KB ) - added by sran 13 years ago.
Example of 1 m resolution ers file
test_regular.zip (18.8 KB ) - added by sran 13 years ago.
Example of non 1 m resolution (regular) ers file

Download all attachments as: .zip

Change History (4)

by sran, 13 years ago

Attachment: test.zip added

Example of 1 m resolution ers file

by sran, 13 years ago

Attachment: test_regular.zip added

Example of non 1 m resolution (regular) ers file

comment:1 by Even Rouault, 13 years ago

Milestone: 1.9.0
Resolution: fixed
Status: newclosed

r22316 /trunk/gdal/swig/ (3 files in 3 dirs): SWIG: Add SpatialReference.SetIGH() (#4060)

comment:2 by Even Rouault, 13 years ago

Oops, ignore previous comment. Copy&paste error. Correct commit is :

r22317 /trunk/gdal/frmts/ers/ersdataset.cpp: ERS: handling case of 1 m pixel resolution when CellInfo is missing (#4067)

Note: See TracTickets for help on using tickets.