<div dir="ltr">Hi Paolo,<br><br><div><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 24, 2013 at 9:07 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>
Hi all.<br>
I noticed that labels are not placed on topologically wrong polygons. This makes<br>
sense, but is surprising for the user: could we think of some solution?<br></blockquote><div><br></div><div>I think QGIS should offer the option to on-the-fly try to fix those geometries. This was discussed previously [0], and I think the best solution presented so far is to find a way to incorporate the standalone PostGIS library '<span><span class="">lwgeom' into the QGIS source tree, or just the relevant bits, as Juergen suggested at the end of that thread, and add support in QgsGeometry.<br>
<br></span></span></div><div><span><span class="">As a side note, Spatialite 4.x includes support for the </span></span><span><span class="">lwgeom library as well, and for the Mac 'homebrew' package manager, which offers an install of QGIS, it causes a circular dependency issue[1]. The solution there was to disable the </span></span><span><span class=""><span><span class=""></span></span><span><span class="">lwgeom support in Spatialite.</span></span> Currently, other software that uses the </span></span><span><span class=""><span><span class=""></span></span><span><span class=""><span><span class=""></span></span><span><span class="">lwgeom</span></span></span></span> lib (I think) also require that PostGIS/PostgreSQL already be installed</span></span><span><span class=""><span><span class=""></span></span>.<br>
<br></span></span></div><div><span><span class="">Ideally, if someone where to find a way (maybe it is simple, but not for me) to have the </span></span><span><span class="">lwgeom library compile-able as a standalone library, apart from PostGIS, it would help both the QGIS project and some packaging issues now and down the road. I suppose we could ask Paul Ramsey or Sandro Santilli what they think about such an idea, and if they could help.</span></span> </div>
<br>[0] <a href="http://osgeo-org.1560.x6.nabble.com/Add-ST-MakeValid-functionality-to-QgsGeometry-td5002449.html">http://osgeo-org.1560.x6.nabble.com/Add-ST-MakeValid-functionality-to-QgsGeometry-td5002449.html</a><br>[1] <a href="https://github.com/mxcl/homebrew/issues/20373">https://github.com/mxcl/homebrew/issues/20373</a><br>
<br></div><div class="gmail_quote">Regards,<br><br></div><div class="gmail_quote">Larry<br></div><div class="gmail_quote"><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>
iEYEARECAAYFAlHv7bwACgkQ/NedwLUzIr4D1ACeKZdyAOUz7SAujvNy5ziztHTq<br>
RM8An05nyhyTMsJlts2GamUi2akvpCPy<br>
=hesG<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br></div></div></div>