Question

How to identify duplicate line segments?

  • 19 December 2017
  • 1 reply
  • 24 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

Userlevel 4

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).

Reply