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


1 Answer 1


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 and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.