Solved

Promote polygon to multipolygon

  • 19 January 2023
  • 2 replies
  • 12 views

I have a stream of features containing polygons and multipolygons.

I would like to identify only the polygons and promote them to multipolygons (containing one polygon). I tried GeometryAggregator but it is converting multipolygons into geometryCollection(multipolygon) which I don't want.

Must be something simple that I just can't see. Any help appreciated.

Simon

icon

Best answer by nielsgerrits 19 January 2023, 05:59

View original

2 replies

Userlevel 6
Badge +33

You can use an AggregateFilter to split Aggregates from non Aggregates. Next you can use an Aggregator to create Aggregates.

You can use an AggregateFilter to split Aggregates from non Aggregates. Next you can use an Aggregator to create Aggregates.

The AggregateFilter/Aggregator combo did the trick, thanks.

Reply