Opened 10 years ago

Closed 10 years ago

#3347 closed defect (fixed)

NITF corners can be wrong

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.8.0
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: NITF
Cc:

Description

While investigating #3337 I have discovered that the conversion of IGEOLO corners into a geotransform and then back into corners (projected out a half pixel) can cause significant errors if the corners are not exactly convertable to a geotransform. This is a problem introduced some time ago (r7382).

Upon further review it is not specifically an issue with #3337 since that file later overrides the corner coordinates from the RPF header; however, it does still seem it could affect other files.

Change History (1)

comment:1 Changed 10 years ago by warmerdam

Milestone: 1.8.0
Resolution: fixed
Status: newclosed

In r18635 I have modified the code, essentially backing out r7382, and instead tracking whether the corner coordinates are center of pixel or edge of pixel.

As I haven't actually encountered a file misinterpreted by this issue, I am not inclined to back port the change.

Note: See TracTickets for help on using tickets.