Skip to main content

Hi!

I have some singles lines and I would like to create a line to bound them. My lines are not topological and I cannot change the geometry. I need to have 1 line for a group of lines define by an ID or a distance.

I tried with hullaccumulator+geometrycoercer+deaggregator.

I tried also with Intersector/NetworkTopologyCalculator to have an ID, and then with hullaccumulator, etc. but the results are not very goods because of the topology.

On the picture, you can see on the left the lines and on the right that I would like to have. FME create the yellow shape. I need to have the exact same points of building than the original shape.

Do you have any idea?

I think in general terms your HullAccumulator idea is good but and as you can see it solves your second sample... that first sample is looking like it's a difficult case though. You could try and remove "dangling" lines (lines that don't intersect anything else at one end) but that would also remove the parallel line at the bottom and it looks like you want to keep that in.

How about you form areas (AreaBuilder) and then use that as a Clipper feature with the originals as Clippee to remove the lines inside, then aggregate the area with the remaining (touching) lines?


hi! Thanks for your answer.

It's a good idea but I tried the areabuilder solution and the geometry of the polygon is not conclusive.

The line in the bottom is excluded and the shape is not perfectly the same...