1

I have Road Network which was selected based on some criteria. Below is image representing it. Each beginning and end of Road Segment is marked with cross:

enter image description here

Selection led to fragmentation of this network. How can I merge (ArcGIS, QGIS) all lines that form consistent continuity, like in image below (colors represent 3 lines which should result after merging). Result of merging – based on below example – should be one layer, with 3 rows, where each row represents grouped lines. Road Network has several attributes, but I am not interested in having them in final, merged output. My goal is to group connected lines:

enter image description here

I have tried few approaches e.g.: Using Dissolve and Multipart to Singlepart in QGIS? Join / merge lines that touch and intersect in QGIS and none of it worked. Dissolve and Multipart-to-Singleparts (QGIS) is not working as expected when 3 lines (or more) are touching each other:

enter image description here

6
  • Please describe, how dissolve & multi to singlepart didn't work. Because that is the place to go for your task.
    – Erik
    Commented Jan 22, 2020 at 12:52
  • Dissolve and Multipart-to-Singleparts (QGIS) is not working as expected when 3 lines (or more) are touching each other. That would be an entrance to roundabout in above example.
    – zwornik
    Commented Jan 22, 2020 at 13:02
  • Using the GRASS tool (under QGIS) v.clean > snap ? (documentation) Commented Jan 22, 2020 at 13:19
  • 1
    By listing three software environments, you are asking at least two questions, violating the One question per Question policy emphasized by the Tour. Please Edit this question to focus one one environment, and the exact steps you have taken, and the way in which it didn't work.
    – Vince
    Commented Jan 22, 2020 at 13:21
  • I'd say to just scan down the tools list in QGIS because there is a very obviously named processing tool that would totally split your lines at each intersection.
    – Gabriel
    Commented Jan 22, 2020 at 13:32

0