2

I have a line layer which represent streets and I would like to know where a line is not connected to other in their nodes.

enter image description here

enter image description here

enter image description here

I would like to find where the lines are like the two first images automatically, I need all the lines connected, if there's a plugin that do this or other tools.

0

It's not clear if you want to identify the unconnected nodes or just snap them (similar to the integrate tool in ArcGIS), so I assumed you just want to connect the nodes to get rid of topology errors. The following is a solution.

Try the GRASS v.clean tool: Processing > Toolbox > GRASS > Vector > v.clean

enter image description here

  1. Select your layer
  2. Input feature type: line
  3. Cleaning tools: break,snap,rmdangle
  4. Threshold: 0,5,5 (in this case 0 is just a place holder for the break tool, for the other two this is the distance in map units for snapping)
  5. Run

Results:

enter image description here enter image description here

enter image description here enter image description here

enter image description here enter image description here

More info here: https://www.geodose.com/2017/10/how-to-clean-topology-error-in-qgis.html

  • I want to identify where they are unconnected for connect them, that's right, I want to get rid of topology errors. So you give me a useful tool, Thank you very much Hayden. – Emar Aug 29 '18 at 20:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.