Opened 16 years ago
Closed 15 years ago
#2040 closed defect (fixed)
nitfdataset.cpp doesn't descriminate between RPC00A and RPC00B coefficients
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 )
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 (5)
comment:1 by , 16 years ago
Component: | default → GDAL_Raster |
---|---|
Keywords: | NITF RPC added |
Milestone: | → 1.5.2 |
Status: | new → assigned |
comment:2 by , 16 years ago
Description: | modified (diff) |
---|
Can you point to any sample datasets with RPC00A that I can use for testing?
comment:3 by , 16 years ago
I have applied the remapping in trunk (r14012) but I haven't been able to test it yet. I'd like to take it back into 1.5 branch if I could test it, or if you could.
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
""" Yes. I have applied a patch on my end. However I can not disseminate any images that have RPC00A coefficients to the community. Jared """
Change also merged into 1.5 branch (r15809).
Reviewing as part of my CNSC related RPC efforts.