Question

Choosing the Correct Transformer for removing Overlapping Line Vectors in FME

  • 25 April 2024
  • 1 reply
  • 26 views

Badge

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

Userlevel 3
Badge +26

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.

Reply