Skip to main content
Question

How to identify short lines that partly duplicates longer line

  • October 31, 2019
  • 7 replies
  • 114 views

Forum|alt.badge.img
  • 16 replies

I have one feature layer with lines that are not topologically cleaned. There are many lines that are partly duplicated with shorter lines. Except FID, other attributes are the same.

Any suggestions how to identify duplicate polylines (short lines)? LineOnLineOverlayer dont work for me.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

7 replies

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3701 replies
  • October 31, 2019

The LineOnLineOverlayer will split up lines where they overlap, try the SpatialFilter (or SpatialRelator) instead.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • October 31, 2019

After the LineOnLineOverlayer you will want to test for lines wiht overlaps greater than 1, this will return the overlapping segments. If you need to know the IDs of the feature you can build a list


Forum|alt.badge.img
  • Author
  • 16 replies
  • November 1, 2019

After the LineOnLineOverlayer you will want to test for lines wiht overlaps greater than 1, this will return the overlapping segments. If you need to know the IDs of the feature you can build a list

How to test lines with overlaps greather than 1 ?


Forum|alt.badge.img
  • Author
  • 16 replies
  • November 1, 2019

SpatialFilter and SpatialRelator doesnt work too, because all lines are in the same shapefile.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • November 1, 2019

How to test lines with overlaps greather than 1 ?

The _overlaps attribute is automatically generated in the line on line overlayer, then you just need a tester


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • November 1, 2019

SpatialFilter and SpatialRelator doesnt work too, because all lines are in the same shapefile.

In the same shapefile shouldn't be a problem in itself, you can send the shapefile to both requestor and supplier port, and as long as each feature has a unique attribute you can use this in the attributes must differ paramet to avoid each feature comparing against itself. I'd avoid it for this scenario however, as there is no tolerance within this transformer so might not give the output you're looking for.


Forum|alt.badge.img
  • Author
  • 16 replies
  • November 1, 2019

The _overlaps attribute is automatically generated in the line on line overlayer, then you just need a tester

Thank You! I will try this.