[gdal-dev] Transformation methods & parameters (OGRCoordinateTransformation)

Andre Joost andre+joost at nurfuerspam.de
Fri Mar 18 11:14:31 PDT 2016


Am 18.03.2016 um 18:57 schrieb César Martínez:
> Thanks André, datum_shift.csv is (partially) what I was looking for.
>
> I see however that EPSG:15933 transformation operation is missing on
> that list (which in this Spanish example is usually the most accurate
> one), maybe because it uses the NTv2 method.
>
> In any case, how can I use the datum_shift.csv parameters to construct
> a OGRCoordinateTransformation instance?
>

The parameters go into the +towgs84 parameter string of GDAL/Proj.4.

NTv2 grids are treated differently, you have to apply +nadgrids and the 
path to the file.

HTH,
André Joost




More information about the gdal-dev mailing list