I have this
topology and would like to merge the red segment with its corresponding blue segments.
(Blue segments are on both side of the red segment.) I can group all red and
all blue segments but I haven’t an attribute to group the related blue and red
segments. Is there a way to do this with FME? Thank you for the help.
I believe the LineCombiner transformer should be able to help.
Ok, this is a good start but I’ve the problem that this
transformer connects also segments within the red and the blue group. But it should
connect just a red segment with segments form the blue group. Is there a way to
specify this?
Hi @nindalf, if red line and blue line which should be connected are definitely touching each other at their end nodes, this workflow might help you. Assuming that the blue lines have unique ID attribute. If they don't have unique ID, you can add temporary ID to them with the Counter.
Hi @nindalf, if red line and blue line which should be connected are definitely touching each other at their end nodes, this workflow might help you. Assuming that the blue lines have unique ID attribute. If they don't have unique ID, you can add temporary ID to them with the Counter.
- Spatial Predicates to Test: Filter Touches Candidate
Thank you for the example. It seems to work like this.