Opened 16 years ago

Last modified 15 years ago

#2040 closed defect

nitfdataset.cpp doesn't descriminate between RPC00A and RPC00B coefficients — at Version 2

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

Description (last modified by warmerdam)

From the documentation that I have read on the RPC00A and the RPC00B tags, the coefficients used in the polynomial are in a different order for doing ground/image and image/ground projections. So if you are going to use the projection assuming the RPC00B polynomial than you need to remap the RPC00A coefficients to RPC00B as follows:

{0, 1, 2, 3, 4, 5, 6 , 10, 7, 8, 9, 11, 14, 17, 12, 15, 18, 13, 16, 19};

otherwise your projections will be wrong. I have verified this with sample imagery.

Change History (2)

comment:1 by warmerdam, 16 years ago

Component: defaultGDAL_Raster
Keywords: NITF RPC added
Milestone: 1.5.2
Status: newassigned

Reviewing as part of my CNSC related RPC efforts.

comment:2 by warmerdam, 16 years ago

Description: modified (diff)

Can you point to any sample datasets with RPC00A that I can use for testing?

Note: See TracTickets for help on using tickets.