Skip to main content
Question

Aggregator - Geometry aggregation issue


syedh2993
Contributor
Forum|alt.badge.img+4

Hi All,

Need your help fix the below scenario,

I have a dataset approximately 100,000 records and these records have Polygon geometry

I am using "aggregator" transformer to group the records as per column attribute and it creates 100 aggregated records.

My requirement is to show each aggregated record as 1 shape on the map when user clicks on it.

Issue: I am facing issue with geometry aggregation. When I plot data on ArcGIS online, I see all 100 aggregated records, but see some empty spots on the map.
If I plot the same data on map without aggregating it, it plots fine.

looks like something is going wrong with geometry aggregation.

Would really appreciate if you could provide some input on how to handle it.

Below is the configuration of my Aggregator transformer,

 

 

Thanks,
 

3 replies

DanAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • January 28, 2025

Hi ​@syedh2993 Use a Matcher before the Aggregator to see if any of those polygons to be aggregates have identical geometry.  If there are duplicate elements in an aggregate then they might be interpreted as a zero-area donut.


syedh2993
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • January 28, 2025
Feature ID ColumnA ColumnB ColumnC Geometry(Polygon)
1 Val1 a gr1 polygon1
2 Val2 b gr1 polygon2
3 Val3 c gr1 polygon3
4 Val4 d gr2 polygon1
5 Val5 e gr2 polygon4
6 Val6 f gr2 polygon5
7 Val7 g gr3 polygon1
8 Val8 h gr3 polygon6
9 Val9 i gr3 polygon7
10 Val10 j gr3 polygon8

 

Hi ​@DanAtSafe ,

Thank you so much for your response. 

Yes, there are duplicate geometries in some features. That is because, some features have same geometry, but other attributes in those features are unique.

When user clicks on an area in the map, we would like to display data of all features using ESRI map pop-up overlapping in that particular area.

Example: Above table is the sample with 10 features (before aggregation). Aggregation is done by grouping columnC, Result of aggregation would be 3 features(gr1, gr2, gr3).
If you check the Geometry column - Polygon1 is repeated in all 3 aggregated features. 
When user clicks on Polygon1 area of the map, we would like to show data of all 3 features (gr1, gr2,gr3) on the pop-up (using left-right arrows on pop-up to navigate)


    
    

Any idea how I can handle this ?

Thanks,
 


nathand2
Contributor
Forum|alt.badge.img+5
  • Contributor
  • January 30, 2025

If you want an aggregated record to be shown as a single shape, why not use a dissolver with a 'Group By’ function


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