Skip to main content

Hello,

 

I have two geojson files, available >here] (until the 21/04/2021). Each one contains a MultiLineString feature, converted to IFMEMultiCurves with FME. I would like to be able to detect any overlapping segment, with some tolerance, no matter their directions, and set a property to any overlapping (or "close-enough") segment from one dataset with any segment from the other dataset.

I have tried various transfomers, but I am not able to detect overlapping segments, nor to break my datasets into segments ...

 

Any advice about how to do this ?

 

Thanks in advance :)

@mickael​ Thanks very much for including the sample dataset.

I think if you use Chopper to break all your lines into two point line segments, the Matcher will pickup the duplicates.


Thanks @Mark Stoakes​ I eventually figured this out, using :

Chopper (Mode "By Vertex + Maximum Segments = 2) > CommonSegmentFinder > LineCombiner > Attribute Manager

I have not tried the Matcher for this


Reply