2

I have a shapefile that consists of around 800 different lines. Now i have another shapefile which also consists line data. Is there a method which can help me calculate the shared length in the second shapefile with the first one.

The lines of both feature classes are not necessarily overlapping. For example both the lines are crossing through the same road but on different corners. As seen in the picture i want to calculate the length, separately of the black line where it passes near the red line and also where it does not. For one or two lines i used the split tool and calculated the length manually but i want to do it for all the lines.

enter image description here

  • 2
    Could you buffer both lines, then run the intersection tool. After that run the polygon to centrerline tool and calculate the distance of that line? – AWGIS Jan 17 '18 at 12:37
3

To do this I would try using the Intersect tool on your two line feature classes because it:

Computes a geometric intersection of the input features. Features or portions of features which overlap in all layers and/or feature classes will be written to the output feature class.

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.