Skip to main content
Question

Choosing the Correct Transformer for removing Overlapping Line Vectors in FME

  • April 25, 2024
  • 1 reply
  • 167 views

cosminciotina
Contributor
Forum|alt.badge.img+3

Hello. I have three line vectors in SHP format (Red, Yellow, and Green). All of them are 100% overlapping in plan, but some are shorter than the others.

Which transformer should I use to remove the overlapping area from the Green line that intersects with the Yellow line, and from the Yellow line to remove the overlapping area with the Red line? Please refer to the sketch below.

I tried with Clipper but it didn’t work. 

Thanks in advice!

 

1 reply

dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • April 25, 2024

LineOnLineOverlayer is what you are looking for. I’d suggest using the list option, with a ListConcatenator to get those values into a single attribute. If red is present, make it red. If yellow is present, make it yellow. Otherwise, make it green.


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