Solved

Aggregate only multipart geometries (or deaggregate only single part geometries)

  • 27 January 2022
  • 2 replies
  • 7 views

Badge +14

I have a bunch of records with a GroupID attribute on them. Some GroupIDs will only have a single record/geometry, while others will have multiple records/geometries. When I use the Aggregator, it aggregates ALL the records, even the ones that only have a single geometry part.

How do I either aggregate only the truly multipart aggregates or deaggregate only the single part aggregates?

icon

Best answer by daveatsafe 27 January 2022, 23:34

View original

2 replies

Userlevel 2
Badge +17

Hi @runneals​,

After the Aggregator, please use the GeometryRefiner transformer, which will convert the single geometry features to simple, while leaving the multi-geometry features as aggregate.

Badge +14

Hi @runneals​,

After the Aggregator, please use the GeometryRefiner transformer, which will convert the single geometry features to simple, while leaving the multi-geometry features as aggregate.

@daveatsafe​ You're a rockstar! Literally tried every other combination of transformers except that one :P

Reply