<div dir="ltr">Hi Pietro,<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 28, 2014 at 6:06 AM, Pietro Rossin <span dir="ltr"><<a href="mailto:pierigis@gmail.com" target="_blank">pierigis@gmail.com</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">Hello<br>
I have a multipolygon (postgis) that has complex geometries in it.<br>
It loads with no problem and I can apply a style without issues.<br>
When I try to label it I get a lot of messages in qgis log, like the below<br>
ones:<br>
<br>
Eccezione: IllegalArgumentException: Invalid number of points in LinearRing<br>
found 3 - must be 0 or >= 4<br>
Eccezione: IllegalArgumentException: holes must not contain null elements<br>
<br>
St_isvalid returns true for all geometries..<br></blockquote><div><br></div><div>What version of QGIS are you using? There are possibly related fixes to this in master and backported to the release-2_2 branch [0,1].<br><br>
</div><div>Try turning off 'Simplify geometry' under Rendering in Layer Properties dialog, and see if that suppresses the error. While your data has valid geometries, the simplification process may have generated invalid ones (what the commits are intended to fix).<br>
</div><div><br>[0] <a href="https://github.com/qgis/QGIS/commit/1f21273">https://github.com/qgis/QGIS/commit/1f21273</a><br>[1] <a href="https://github.com/qgis/QGIS/commit/5b824ac">https://github.com/qgis/QGIS/commit/5b824ac</a><br>
<br></div><div>Regards,<br></div><div><br>Larry Shaffer<br>Dakota Cartography<br>Black Hills, South Dakota<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<br>
What can it be?<br>
Thanks<br>
Pietro<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/lots-of-log-messages-after-label-appllication-tp5131788.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/lots-of-log-messages-after-label-appllication-tp5131788.html</a><br>

Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br></div></div>