<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">+1<div class=""><br class=""></div><div class="">I’ve been tricked by this several times where I think I have gdal successfully compiled and then go to reproject something only to find out it can’t :-(</div><div class=""><br class=""></div><div class="">Zac</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 6, 2017, at 10:20 AM, Kurt Schwehr <<a href="mailto:schwehr@gmail.com" class="">schwehr@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">+1</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On May 6, 2017 4:58 AM, "Even Rouault" <<a href="mailto:even.rouault@spatialys.com" class="">even.rouault@spatialys.com</a>> wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u class=""></u>
<div style="font-family:'monospace';font-size:9pt;font-weight:400;font-style:normal" class=""><div style="margin: 0px; text-indent: 0px;" class="">Hi,</div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px" class=""> </p><div style="margin: 0px; text-indent: 0px;" class="">Currently the default mode of linking GDAL with proj.4 is to use dynamic loading mechanism (dlopen on Unix, LoadLibary on Windows). I believe the reason for that was that it could have make it easier to use an alternate projection engine, but apparently nobody cared enough to plug a new one, and it could be done with standard linking. One downside of the current mechanism (besides code complication) is that it requires to list the exact library name of proj4 in GDAL source code, which can change depending on the soname of proj4. And this can cause subtle issues like</div><div style="margin: 0px; text-indent: 0px;" class=""><a href="https://trac.osgeo.org/gdal/ticket/6881" target="_blank" class="">https://trac.osgeo.org/gdal/<wbr class="">ticket/6881</a></div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px" class=""> </p><div style="margin: 0px; text-indent: 0px;" class="">So I'd suggest just keeping standard linking mechanism, and renaming the current --with-static-proj4 configure flag as --with-proj4, as the current name is confusing, and making it the default behaviour.</div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px" class=""> </p><div style="margin: 0px; text-indent: 0px;" class="">Any thoughts ?</div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px" class=""> </p><div style="margin: 0px; text-indent: 0px;" class="">Even</div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px" class=""> </p><div style="margin: 0px; text-indent: 0px;" class="">-- </div><div style="margin: 0px; text-indent: 0px;" class="">Spatialys - Geospatial professional services</div><div style="margin: 0px; text-indent: 0px;" class=""><a href="http://www.spatialys.com/" target="_blank" class="">http://www.spatialys.com</a></div></div><br class="">______________________________<wbr class="">_________________<br class="">
gdal-dev mailing list<br class="">
<a href="mailto:gdal-dev@lists.osgeo.org" class="">gdal-dev@lists.osgeo.org</a><br class="">
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/<wbr class="">mailman/listinfo/gdal-dev</a><br class=""></blockquote></div></div>
_______________________________________________<br class="">gdal-dev mailing list<br class=""><a href="mailto:gdal-dev@lists.osgeo.org" class="">gdal-dev@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/gdal-dev</div></blockquote></div><br class=""></div></body></html>