<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Which version of QGIS are you using? I
just tried your shape file on 1.8.0-Lisboa on Linux Fedora 18 and
no geometry errors were reported.<br>
<br>
On 03/25/2013 07:19 AM, Francois Hugues wrote:<br>
</div>
<blockquote
cite="mid:3CB901080554B04881D30F111F62D93002878294@nadia.grenoble.cemagref.fr"
type="cite">
<pre wrap="">Hello,
I received a layer with a lot of "bow tie" polygons which are invalid since OGC specifications tell us polygon's boundaries cannot cross itself. I first used st_makevalid in postgis which throw me a multipolygon geometry composed of two polygons which share one point. But if I look it in qgis and try to look for errors (vector/geometry tools/check geometry validity) i find errors like "segment 0 of ring 0 of polygon 0 intersects segment 0 of ring 0 of polygon 1 at 888252.630181, 6381825.28528".
So I tried somethings outside postgis : i exported my data as exploded simple polygons from the original layer to a shp file (like the one attached to this message - the example of the turtle - if you would like to reproduce the problem). I tried to merge simple polygons with qgis and ran the validity checker which throw me the same errors as before.
I definitely think there are no errors with this kind of multipolygon even if its components may share some points (here, there is only one, but we could find more complicated examples), they seem "topologically" correct to me. Am i wrong ?
Hugues.
--
Hugues FRANÇOIS
<a class="moz-txt-link-abbreviated" href="mailto:hugues.francois@irstea.fr">hugues.francois@irstea.fr</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<br>
</body>
</html>