Skip to main content
Question

How to identify duplicate line segments?

  • December 19, 2017
  • 1 reply
  • 142 views

Hi,

as you can see in the attached screenshot, I have a dataset that consists of lines partly with the same geometry. The selected feature on the left side is partly identical to the one on the right (and can be seen as a "segment"). I only want to keep the feature on the right side, because the line on the left is obsolete and a "duplicate". How can I identify these "duplicates", that are "segments" of other lines to keep them out of my dataset? Thanks a lot for your help in advance!

1 reply

david_r
Celebrity
  • December 19, 2017

You can try the LineOnLineOverlayer, amongst others. Just be aware that the vertices have to line up perfectly between the two line segments for them to match. If that isn't always the case, consider using an AnchoredSnapper first (snapping type=Segment snapping).


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings