<div dir="ltr">wow, thanks.<div><br></div><div>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.</div><div>But thanks for the quick turnaround</div><div><br></div><div>Cheers<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font color="#999999"><br></font></div><div><font color="#999999">---</font></div><div><font color="#999999">Gregory Bataille</font><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 14, 2019 at 1:24 AM Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> This is not a PROJ6 issue, but a GDAL one related to the logic starting at<br>
> <a href="https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrct.cpp#L843" rel="noreferrer" target="_blank">https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrct.cpp#L843</a><br>
> <br>
> You could try to add a test that if OGRSpatialReference::GetTOWGS84()<br>
> returns OGRERR_NONE then the resolution to the WKT of the EPSG code is<br>
> skipped<br>
<br>
I've implemented this in <a href="https://github.com/OSGeo/gdal/pull/2016" rel="noreferrer" target="_blank">https://github.com/OSGeo/gdal/pull/2016</a><br>
<br>
The last commit is the one that is of interest for you. I've kept the current <br>
behaviour as default, as I think it is what most people would want. For your <br>
use case, you'd define OSR_CT_USE_DEFAULT_EPSG_TOWGS84=YES<br>
<br>
Even<br>
<br>
-- <br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
</blockquote></div>