> This is not a PROJ6 issue, but a GDAL one related to the logic starting at
> https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrct.cpp#L843
> 
> You could try to add a test that if OGRSpatialReference::GetTOWGS84()
> returns OGRERR_NONE then the resolution to the WKT of the EPSG code is
> skipped

I've implemented this in https://github.com/OSGeo/gdal/pull/2016

The last commit is the one that is of interest for you. I've kept the current 
behaviour as default, as I think it is what most people would want. For your 
use case, you'd define OSR_CT_USE_DEFAULT_EPSG_TOWGS84=YES

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to