Skip to main content
Question

Best Way to Find Non-Overlapping Polylines in FME?

  • June 23, 2025
  • 1 reply
  • 23 views

gbcfgeo2025
Contributor
Forum|alt.badge.img+2

Hi Community!
I'm working with two sets of polylines, but not all of them match perfectly.
I'd like to identify, using FME, the polylines that do not align (Non-Overlapping).
Is it correct to use the SpatialFilter transformer for this type of comparison?
If so, how should it be properly configured?

I've attached the data I'm working with:
the red polylines (RtesType1.shp), which do not match, are located in the area highlighted by the black circle.
The polylines I'm comparing them with are the ones in cyan (RC.shp).

Thanks in advance for your help! 😊

 

1 reply

virtualcitymatt
Celebrity
Forum|alt.badge.img+39

I guess the LineOnLineOverlayer is probably what you’re looking for here.

This will overlay all lines on each other - the input lines will get cut base don overlaps.

Where you have sections < 2 overlaps & fme_feature_type = RtesType1 then you should have a section which does not alight with that other dataset.

You can play a bit with the tolerance if you find that you’re getting too many false positives. You can then also use things like the LengthCalculator to help you filter out small segments which perhaps shouldn’t count.

This all assumes that the input datasets themselves don’t already have any overlaps (I noticed that the RtesType1 dataset does have a few overlaps in it)


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