Question

line biulder ends with rejected

  • 19 June 2019
  • 1 reply
  • 0 views

Badge

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?


1 reply

Userlevel 1
Badge +21

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

Reply