<div dir="ltr">Hi Paolo,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 10:01 AM, Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Il 24/07/2013 17:55, Larry Shaffer ha scritto:<br>
<br>
>> I think QGIS should offer the option to on-the-fly try to fix those geometries. This<br>
>> was discussed previously [0], and I think the best solution presented so far is to<br>
>> find a way to incorporate the standalone PostGIS library 'lwgeom' into the QGIS<br>
<br>
done for now: <a href="http://plugins.qgis.org/plugins/sextantelwgeomprovider/" target="_blank">http://plugins.qgis.org/plugins/sextantelwgeomprovider/</a><br></blockquote><div><br></div><div>But that just wraps the C++ library with Python doesn't? (Very nice, btw!) That still requires a full install of PostGIS/PostgreSQL (at this time):<br>
<br>...<br>    def getLwgeomLibrary(self):<br>        # try to load the LWGEOM library<br>        libpath = SextanteConfig.getSetting("LWGEOM_PATH_SETTING")<br>        lib = ctypes.CDLL(libpath)<br>...<br><br></div>
<div>For labeling, I don't think we would want to introduce Python into the mix, or require PostGIS to be installed. So, either C++ compiled-in or shared lib support would be best (for the speed).<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

>> Ideally, if someone where to find a way (maybe it is simple, but not for me) to have<br>
>> the lwgeom library compile-able as a standalone library, apart from PostGIS, it would<br>
<br>
we are doing it now, for osgeo4w. ready on debian.<br></blockquote><div><br></div><div>Do you have some links to any notes on how this was done using the PostGIS source code? I'd like to make that library available for the Mac builds and pass the notes along to others.<br>
</div><div><br></div><div>Regards,<br><br></div><div>Larry<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
All the best.<br>
- --<br>
Paolo Cavallini - Faunalia<br>
<a href="http://www.faunalia.eu" target="_blank">www.faunalia.eu</a><br>
Full contact details at <a href="http://www.faunalia.eu/pc" target="_blank">www.faunalia.eu/pc</a><br>
Nuovi corsi QGIS e PostGIS: <a href="http://www.faunalia.it/calendario" target="_blank">http://www.faunalia.it/calendario</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
Comment: Using GnuPG with Icedove - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iEYEARECAAYFAlHv+nUACgkQ/NedwLUzIr6orACgrj5T0/FytPBmOsiJTKfLzX/D<br>
NCUAoIY5yXtEt2Ddtht7nSnt7dq01Qi6<br>
=2m/z<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div></div></div>