TransWikia.com

Fixing dangles (lines) with v.clean and "fix geometries"

Geographic Information Systems Asked by Carina on June 1, 2021

I need help with fixing my two dangle-errors:
enter image description here

there are 2 dangles on the top right and one small hole on the top-left corner.
enter image description here

I can deduct them with the Geometry Checker, but I cannot fix it (automatically).

This is only an example-file. I need the skill for a big file with hundreds of lines that need fixing before polygonizing…

Has someone an idea why v.clean (I ticked line and break, snap, rmdangle with tresholds 0,5,5) or geometry fixer cannot do that?

I already studied useful information like that:

… but still it is not working.

One Answer

You can use QGIS expressions with Geometry Generator or Geometry by expression for this - see here for details about these two options. In both cases, simply use this expression: close_line( $geometry).

Screenshot: Blue=original line; red=line created with the above expression: enter image description here

Answered by Babel on June 1, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP