Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#6539 closed enhancement (fixed)

Contribution to DIMAP driver to support / Primary Products (GeoRef via RPC)

Reported by: mrosen Owned by: warmerdam
Priority: normal Milestone: 2.2.0
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: dimap 2


The existing DIMAP driver will correctly georeference DIMAP xml metadata files that specify the georeferencing using a "Geoposition_Insert" tag.

That works for Orthorectified products but not Primary products which specify georeferencing using a “Rational_Functional_Model” (RPC). The attached patch extends support for this.

I suspect this will address ticket number 6293 "Multiple Pleiades/Airbus Tiles Don't Georegister Properly With gdalwarp" but I have not tested this.

Attachments (1)

GDAL_DIMAP_RPC.patch (8.8 KB ) - added by mrosen 7 years ago.
patch to add RPC support to DIMAP driver

Download all attachments as: .zip

Change History (3)

by mrosen, 7 years ago

Attachment: GDAL_DIMAP_RPC.patch added

patch to add RPC support to DIMAP driver

comment:1 by Even Rouault, 6 years ago

Component: defaultGDAL_Raster
Keywords: dimap 2 added
Milestone: 2.2.0
Resolution: fixed
Status: newclosed

Thanks for the patch. I've added a dedicated SetRPC() method to avoid hickjacking the existing SetMetadataFromXML()

trunk r34359 "DIMAP: for DIMAP 2, read RPC from RPC_xxxxx.XML file (derived from patch by Michael Rosen, #6539)"

This doesn't solve however #6293, which is about tiled DIMAP products.

comment:2 by Even Rouault, 6 years ago

trunk r34363 "DIMAP: revert partially trunk r34359 to use GDALMDReaderPleiades instead to fix 2 issues: the Inverse_Model_Validity_Domain must be used, and the correction for a 1,1 pixel shift (#6539)"

Note: See TracTickets for help on using tickets.