Skip to main content
Solved

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

  • January 27, 2022
  • 2 replies
  • 116 views

runneals
Contributor
Forum|alt.badge.img+20

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?

Best answer by daveatsafe

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.

View original
Did this help you find an answer to your question?

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • January 27, 2022

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.


runneals
Contributor
Forum|alt.badge.img+20
  • Author
  • Contributor
  • January 27, 2022
daveatsafe wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings