<div dir="ltr"><div>OK, I thought I had tried "Check validity" with both QGIS and GEOS methods, but I must have got confused and only used GEOS method, which doesn't detect an error.</div><div>The first tool I tried was actually "Fix geometries", which also thinks the geometries are valid.  Maybe fix geometries uses GEOS and needs to be enhanced with a QGIS method.  </div><div>It seems strange for other algorithms like "clip" to do more fixing than "fix geometries", especially in a case like this where you would think the feature could be clipped without any "fixing".<br></div><div><br></div><div>Thanks.</div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Date: Tue, 1 Jun 2021 02:45:51 -0700 (MST)<br>
From: Andrea Giudiceandrea <<a href="mailto:andreaerdna@libero.it" target="_blank">andreaerdna@libero.it</a>><br>
To: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
Subject: Re: [Qgis-user] Is this a bug in the vector clipping<br>
        algorithm?<br>
Message-ID: <<a href="mailto:1622540751842-0.post@n6.nabble.com" target="_blank">1622540751842-0.post@n6.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Alister Hood-2 wrote<br>
> I haven't been able to find a tool for validating or repairing geometries<br>
> that thinks there is a problem with the original geometry<br>
<br>
Hi Alister,<br>
what tool have you used to check the geometry?<br>
<br>
Have you tried to use the Geometry Checker core plugin (Vectror->Check<br>
Geometries) or the "Check validity" (qgis:checkvalidity) processing tool<br>
(with the QGIS method)?<br>
They both report errors: "duplicate node", "self contact", "duplicate<br>
nodes".<br>
<br>
Also the ArcMap/ArcGIS Check Geometry tool reports "self intersections".<br>
<br>
Anyway it seem the QGIS Clip tool does a "sanitize" of the intersection<br>
result (always converting to Multi Type).<br>
<br>
Regards.<br>
<br>
Andrea Giudiceandrea<br>
</blockquote></div></div>