Re: [Qgis-user] Is this a bug in the vector clipping algorithm?

2021-06-02 Thread Andrea Giudiceandrea
Richard McDonnell wrote > Just a quick one, you could try the Topology Checker > > https://docs.qgis.org/2.8/en/docs/user_manual/plugins/plugins_topology_checker.html > > This should help you locate things like Self Intersections. Hi Richard, AFAIK the Topology Checker core plugin cannot check

Re: [Qgis-user] Is this a bug in the vector clipping algorithm?

2021-06-02 Thread Richard McDonnell
Hi, Just a quick one, you could try the Topology Checker https://docs.qgis.org/2.8/en/docs/user_manual/plugins/plugins_topology_checker.html This should help you locate things like Self Intersections. You will have to manually fix the error, but at least you have a way to find the issues.

Re: [Qgis-user] Is this a bug in the vector clipping algorithm?

2021-06-01 Thread Alister Hood
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. The first tool I tried was actually "Fix geometries", which also thinks the geometries are valid. Maybe fix geometries uses GEOS and

Re: [Qgis-user] Is this a bug in the vector clipping algorithm?

2021-06-01 Thread Andrea Giudiceandrea
Alister Hood-2 wrote > I haven't been able to find a tool for validating or repairing geometries > that thinks there is a problem with the original geometry Hi Alister, what tool have you used to check the geometry? Have you tried to use the Geometry Checker core plugin (Vectror->Check

Re: [Qgis-user] Is this a bug in the vector clipping algorithm?

2021-06-01 Thread Ujaval Gandhi
You can run the 'Check Validity' tool from the Processing Toolbox with 'QGIS' method and it will point out the error. (see screenshot ) 'line 1 contains 3 duplicate nodes starting at vertex 13'. So QGIS will try to fix this by creating a multipart geometry. [image:

[Qgis-user] Is this a bug in the vector clipping algorithm?

2021-06-01 Thread Alister Hood
Hi everyone, I found that if a line touches itself, if I use the vector overlay "clip" algorithm on that layer, the feature gets broken up into 3 pieces (I can tell by running it through the "multipart to singleparts" algorithm). See the screenshot below of some example inputs, and I've