Skip to main content

HEllo,

I would like to build a line from polyygon center points. The coherent polygons have an id (ivv) on which a I want to create a single line.

First I am using a centerPointReplacer to get the centre point of the polygons. After that I am using aggregator, to group the poins by (ivv). Now I want to build the lines, but it gives back rejected even if I set the connection break output to ivv or not. What should be the correct order or parameter setting to get lines from the aggregated points?

You don't need the aggregator. You can use ivv as a group by in the line builder. Note the line builder assumes your points are in the correct order for the line