7

As shown in the image I have a road network and the intersections as separate layers on QGIS. What I require is to extract the Minimum Spanning Tree connecting all points along the road network.

How may I go about doing this?

The data that I currently have on QGIS

0

2 Answers 2

6

There is an already existing tool in processing plugin in GRASS -> Vector -> v.net.spanningtree

enter image description here

You will need to specify the vector line layer and the nodes ( optional ) and in advanced parameters add the type of the geometry of the output layer

and that's it, you'll get a new vector layer with the spanning tree

enter image description here

0
4

You may also rely on the 'Minimum Spanning Tree' plugin of QGIS 3.x.

The paper Geo-MST: A geographical minimum spanning tree plugin for QGIS discusses the plugin thoroughly.

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.