Friday, 3 April 2015

qgis - Find intersection point in a road network of line shapefile


How can I find intersection point in a road network in one line shapefile?


I am using QGIS 2.18.


How can I get the intersection point shown in blue colour


enter image description here



Answer



Ok, that's the steps you need to folow.




  1. First use Dissolve without any attribute on your road layer.

  2. Next on dissolve layer use "Multipart to single parts" tool.

  3. After that use "Line intersection" on output from previous step.


I am not sure if i translate it correctly because not i am using polish version of QGIS. You can find in Vector toolbox.


Line Intersections


After that just select same feature line twice without any unic fields.


Fill in


EDIT



Ok i see that Dissolve in Qgis is a bit different that Dissolve in ArcGIS. But to work around it i came up with this idea.



  1. First Save As.. your existing shape file to work on copy.

  2. Next edit copy feature, select all lines and merge them together using "Merge Selected Features" from Advance Digitizing Toolbar and save it.

  3. Then use "Multipart to single parts" tool.

  4. After that use "Line intersection" on output from previous step.


enter image description here


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...