<div dir="ltr"><div dir="ltr"><div dir="ltr">Prepare/finalize functions were added to pj_inv & pj_fwd  in PROJ PR #731 (<a href="https://github.com/OSGeo/proj.4/pull/731">https://github.com/OSGeo/proj.4/pull/731</a>), in order to resolve ticket #700 (<a href="https://github.com/OSGeo/proj.4/issues/700">https://github.com/OSGeo/proj.4/issues/700</a>).</div><div dir="ltr">These add some overhead as well but IIRC, more like +15% (much depending on the actual projection) than +100%. </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den man. 28. jan. 2019 kl. 17.38 skrev Even Rouault <<a href="mailto:even.rouault@gmail.com">even.rouault@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Stefan,</div><div><br></div><div>I bet you also upgraded your PROJ version in the process ? I can't think of a reason in GDAL itself for a performance change. But on the PROJ side, yes, there might be some explanation</div><div>The main one I can see is that in PROJ 4.9.3, the Extended Transverse Mercator is used by default for UTM, which has probably a higher computation time. If you define the GDAL configuration option / environmenet variable OSR_USE_ETMERC to NO, then the older Transverse Mercator method will be used.</div><div>PROJ 5.0 has also undergone major changes that might have increased a bit the computation time, but I wouldn't expect them to cause a 2x slowdown.<br></div><div><br></div><div>Even</div><div><br>-- <br>Spatialys - Geospatial professional services<br><a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a></div><br></div></div></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div>