[gdal-dev] Failure to convert to Airy

Even Rouault even.rouault at spatialys.com
Mon Jun 17 10:21:30 PDT 2019

On lundi 17 juin 2019 17:14:21 CEST Joaquim Manuel Freire Luís wrote:
> Well, I call it via GMT but that test is in GMT for a while and it used to
> pass.
> Anyway, I'll have to investigate this further because I rebuilt GDAL and now
> the gdaltransform works, but when I call it from GMT is still fails.
> The code is
> https://github.com/GenericMappingTools/gmt/blob/master/src/gmt_ogrproj.c#L27

gmt_OGRCoordinateTransformation(() isn't actually equivalent to gdaltransform, 
since it only creates the forward transformer.
So that should, normally, work with both GDAL < 3 or GDAL >= 3 when going from 
longlat to airy.

Spatialys - Geospatial professional services

More information about the gdal-dev mailing list