Skip to main content
Question

How to identify short lines that partly duplicates longer line

  • October 31, 2019
  • 7 replies
  • 100 views

Forum|alt.badge.img

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.

7 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

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


ebygomm
Influencer
Forum|alt.badge.img+33
  • Influencer
  • 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
  • November 1, 2019
ebygomm wrote:

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
  • November 1, 2019

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


ebygomm
Influencer
Forum|alt.badge.img+33
  • Influencer
  • November 1, 2019
is wrote:

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+33
  • Influencer
  • November 1, 2019
is wrote:

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
  • November 1, 2019
ebygomm wrote:

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

Thank You! I will try this.


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