Skip to main content

Hi Community,

I have a lot of lines which are generated from raster centerpoints. All the lines consist of 2 vertexes. I would like to aggregate all the lines that touch to one feature. I tried this using the Linecombiner but this transformer doesn't connect lines when more than two lines come together. Any suggestions?

Have a look at the NetworkTopologyCalculator, the resulting attribute _network_id will denote each separate group of connected lines.

If you need to create aggregates from the result, use the Aggregator and set the Group By on the _network_id.


Reply