wow, thanks. I'm not quite sure I'm following it all though. I'm reaching a bit my knowledge limit here with those transforms. I'll need to spend a bit more time on it to get more understanding and see what I can do, how I might use your update. But thanks for the quick turnaround
Cheers --- Gregory Bataille On Thu, Nov 14, 2019 at 1:24 AM Even Rouault <[email protected]> wrote: > > 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
