8

How can I split a road network into different links splitting at intersections?? The whole network is in one single layer.

1 Answer 1

16

You need to use Split lines by lines tool, and use the same file as input layer and split layer, as you can see below:

enter image description here

You can find the tool from Processing toolbox -> QGIS Geoalgorithms -> Vector Overlay tools -> Split lines by lines

Here is the tool in the Processing Menu:

enter image description here

Before running the tool:

enter image description here

After running the tool:

enter image description here

Update for QGIS 3.x

Although the tool has the same name in SAGA -> Vector line tools, it has a different name in QGIS 3.x. The new name is Split with lines located under Processing tools -> Vector overlay -> Split with lines:

enter image description here

7
  • under the Vector Overlay tools there is no such option of "split lines with lines". I am using QGIS 2.10.1 Pisa. Can you help me with that.
    – AMAL DATTA
    Commented Jul 10, 2017 at 9:29
  • 1
    @AMALDATTA - At the bottom of the Processing Toolbox, make sure you are using the Advanced interface and not the Simplified interface. This algorithm was available since QGIS 2.8 :)
    – Joseph
    Commented Jul 10, 2017 at 10:26
  • 2
    @Joseph Thank you very much for pointing that, I completely forget this point, as I am always using Advanced interface.
    – ahmadhanb
    Commented Jul 10, 2017 at 10:29
  • 1
    @ahmadhanb - Most welcome! Although it is just a guess since the OP is using a fairly old version :)
    – Joseph
    Commented Jul 10, 2017 at 10:31
  • 1
    @AMALDATTA - It may depend on how those intersections look. I suggest you accept this answer (by clicking the green-faded tick on the left-hand side) to show your initial question has been solved and then ask a new question with your details and screenshots :)
    – Joseph
    Commented Jul 10, 2017 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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