Le lundi 22 juin 2015 08:29:18, Pablo d'Angelo a écrit : > Hi Even, > > Am 19.06.2015 um 23:53 schrieb Even Rouault: > > Actually keeping the RPC metadata as it is found in the sources (with the > > exception of Pleiades and their weird center of pixel (1,1) convention > > perhaps, as proposed in > > https://trac.osgeo.org/gdal/attachment/ticket/5993/fix_PleiadesRPC.patch > > ?), and doing the adjustment in the computation will be less disruptive > > for the existing code than modifying the RPC metadata values for a > > half-pixel shift in all deserializing/serializing .rpb and _rpc.txt code > > (+ you'd have to make a special case when deserializing/serializing the > > RPC metadata domain in .aux.xml and VRT !), so on reflection, I'm happy > > with Pablo's approach. > > I think this is also nicer for third party applications that use the > GDAL RPC metadata. Changing the LINE_OFF and SAMP_OFF > would also require changes in third party code.
Pablo, I've applied your patches (with very slight modifications) to trunk and 2.0 branch. Best regards, Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
