2

I would like to identify which vectors connect/ intercept within the same layer. In more detail I have 1000s of vector lines and I would like to identify which lines are connected to each other without manually clicking on each trail to identify the vector id. Is there a method that I could use that saves me time on manually doing it?

  • what are your datasources ? shapefiles ? postgis tables ? – snaileater Jun 4 at 14:09
  • The shapefiles are ESRI shapefiles and are exported in CSV file/table. If thats helpful – Alison Jones Jun 4 at 18:26
1

I think this is what you are looking for: Youtube answer by Bhaskar Reddy Pulsani

0

Here are the steps in the video linked to by yair suari written out:

The approach uses the Line intersections tool in QGIS. In the tool GUI, select the line vector layer as both Input layer and Intersect layer, and use its unique ID field for both Input unique ID field and Intersect unique ID field. Running the tool then gives you all intersections in the line layer as a point feature.

Below is screenshot that illustrates the above steps. The lines are labeled according to the id field in the 'lines' feature. enter image description here

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.