Ticket #3453 (assigned defect)

Opened 3 years ago

Last modified 3 years ago

NITF annotation and image are not rotated properly (see attached word document).

Reported by: gaopeng Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: 1.6.1
Severity: normal Keywords:
Cc:

Description

Attached are a test image, and a word doc listing displays from 4 different systems. We believe that Global Viewer is correct.

Attachments

ERDASNITIF.doc Download (372.0 KB) - added by gaopeng 3 years ago.
Test.ntf Download (188.7 KB) - added by gaopeng 3 years ago.
ERDASNITIF2.doc Download (217.0 KB) - added by gaopeng 3 years ago.

Change History

Changed 3 years ago by gaopeng

Changed 3 years ago by gaopeng

Changed 3 years ago by gaopeng

Frank, Could you look at this? There was an issue on inverted extent, and it has been corrected. As shown in the doc, ArcGIS is getting closer, but not completely correct.

Changed 3 years ago by gaopeng

Changed 3 years ago by warmerdam

  • status changed from new to assigned

I have spent some time stepping through the code and I don't see any obvious signs of a problem. I will note that the georeferencing is being derived from the four control points in the BLOCKA TRE which should be significantly more precise than the GEOL0 header information.

The only other exotic information in the file is a HISTOA TRE, and three PIXnnn TREs. The HISTOA is apparently processing history and presumably has no significance with regard to georeferencing. The PIXnnn TREs are apparently registered to Paragon Imaging corporation. I wonder if the other view package might be using them for something. I did a binary dump and it was not obvious what the contents were.

I'm at a loss!

PS. I review the geotransform computed from the four corner coordinates and the error is around 1 100th of a pixel which should be negligable.

Note: See TracTickets for help on using tickets.