Bug report #14912
'Check Geometries' plugin fails to fix duplicated nodes
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Sandro Mani | ||
Category: | C++ plugins/Geometry Checker | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22865 |
Description
Please try to fix the attached polygon. The geometry check ignores the duplicated nodes and doesn't return any results.
See also #14890
History
#1 Updated by R. R. over 8 years ago
- File 14912.mp4 added
#2 Updated by Sandro Mani over 8 years ago
- Status changed from Open to Closed
The plugin currently only searches for consecutive duplicate nodes, which is not the case in the attached geometry. I believe such spikes as in your geometry are better detected with the minimal angle test. Checking all nodes against all other nodes in the geometry can quickly become prohibitive in terms of performance, plus such non-consecutive duplicate nodes are not per-se invalid, and may also be desiderable in some circumstances.
Feel free to reopen if you disagree or if I missed something.
#3 Updated by R. R. over 8 years ago
Sandro, thanks for your reply. The minimum angle check works just fine.