Opened 12 months ago

Closed 11 months ago

Last modified 11 months 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
Cc:

Description

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 12 months ago.
patch to add RPC support to DIMAP driver

Download all attachments as: .zip

Change History (3)

Changed 12 months ago by mrosen

Attachment: GDAL_DIMAP_RPC.patch added

patch to add RPC support to DIMAP driver

comment:1 Changed 11 months ago by Even Rouault

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 Changed 11 months ago by Even Rouault

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.