How can I find overlapping polyline features in a layer in ArcMap without writing any code?

I have a PolyLine feature class in a personal geodatabase. It contains some features that overlap another polyline features.If I use "Select by location" menu to find these overlapped features, (suppose I have two different layers based on same featureclass) and use "Share a line segment with the source layer feature" from the dialog box in ArcMap, all features get selected because each feature overlaps with itself.

If I have 2 polyline layers in ArcMap based on one feature class, how can I find features from top layer which overlap with features of bottom layer that have different ObjectId?

This is a layer with only 2 line features that overlap each other.It's in editing mode with one feature selected so we can see its vertices and how it overlap part of another line segment

  • 3
    You can build a topology and set that as a rule, they will show up as red areas where the lines overlap. – Michael Stimson Sep 1 '14 at 5:00
  • Thank you Michael for fast answer.May you give me a guide line how I can build a topology?Does it have a tools in ArcToolBox? – Reza Sep 1 '14 at 5:10
  • 1
    You can read resources.arcgis.com/en/help/main/10.2/index.html#//…. I create and manage topologys in Catalog as I find it easier but tools exist to do the work. You need to get your feature class into a geodatabase feature dataset and then create one, add the rules and validate. – Michael Stimson Sep 1 '14 at 5:18
  • Spatial join one to many. From result delete fid.targer=fid.join. Expect more answers than you hoping for, because if line 3 shares segment with line 4, the same is true for line 4 and 3. – FelixIP Sep 1 '14 at 10:02

I recommend that you try using the Intersect (Analysis) tool with one input.

According to How Intersect works (with my bolding):

Intersect can run with a single input. In this case, instead of discovering intersections between the features from the different feature classes or layers, it will discover the intersections between features within the single input. This can be useful to discover polygon overlap and line intersections (as points or lines).

  • Geoprocess/Intersec can only find features which contains features of source layer,but I need features even if they have only a segment overlapped.for example suppose 2 lines that their from point are located on edge of another one. – Reza Sep 1 '14 at 8:42
  • 1
    I think you should edit your original question to include graphics that illustrate your precise requirements. – PolyGeo Sep 1 '14 at 9:20
  • you are right PolyGeo.I should do it before to make problem more clear.Now you can see in the image attached to this post how the selected line overlaps part of segment of another line and I want to find these type of features.Thank you all for your attention. – Reza Sep 2 '14 at 4:24
  • 1
    @Reza If you run Intersect on the single feature class that is the source for both those layers then add its output to your map I think will be just that short segment of overlap. – PolyGeo Sep 2 '14 at 4:28
  • Intersect on the single feature class didn't select 2 features,but after I created a 1 millimeter buffer layer based on this feature class and run intersect on this new layer,It selected features correctly.Thank you all. – Reza Sep 2 '14 at 6:59

In order to most easily select these errors, I suggest you create a topology with your feature class.

Just add the Must Not Overlap rule to the topology and it should highlight all the errors you are looking for. From here you can either merge or subtract the shared segments.

According to the documentation, the Must not Overlap rule "Requires that lines not overlap with lines in the same feature class (or subtype). This rule is used where line segments should not be duplicated, for example, in a stream feature class. Lines can cross or intersect but cannot share segments."

More can be found 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.