[Qgis-user] lots of log messages after label appllication

Larry Shaffer larrys at dakotacarto.com
Fri Mar 28 08:56:58 PDT 2014


Hi Pietro,

On Fri, Mar 28, 2014 at 6:06 AM, Pietro Rossin <pierigis at gmail.com> wrote:

> Hello
> I have a multipolygon (postgis) that has complex geometries in it.
> It loads with no problem and I can apply a style without issues.
> When I try to label it I get a lot of messages in qgis log, like the below
> ones:
>
> Eccezione: IllegalArgumentException: Invalid number of points in LinearRing
> found 3 - must be 0 or >= 4
> Eccezione: IllegalArgumentException: holes must not contain null elements
>
> St_isvalid returns true for all geometries..
>

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].

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).

[0] https://github.com/qgis/QGIS/commit/1f21273
[1] https://github.com/qgis/QGIS/commit/5b824ac

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota


>
> What can it be?
> Thanks
> Pietro
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/lots-of-log-messages-after-label-appllication-tp5131788.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140328/374128e0/attachment.html>


More information about the Qgis-user mailing list