arcade-expressions icon indicating copy to clipboard operation
arcade-expressions copied to clipboard

Aggregate and calculate data statistics using spatial intersect

Open hhkaos opened this issue 8 months ago • 0 comments

Check existing issues

Execution profile

Popup

Is your feature request related to a problem? Please describe.

I would like to display a dynamically calculated value (e.g. an average temperature) based on the aggregate values of several points features within a polygon feature (e.g. weather stations within a county).

Describe the solution you'd like

I expect something simple like this, where the temperature value of all weather stations within a county have been calculated on-the-fly: Screenshot 2023-10-17 at 12 30 32

Describe alternatives you've considered

The only option that comes to my mind is to write custom code

Additional context

This was a demo shown during the last developer summit (2023), so the county layer that was used can be repurposed.

Note: I noticed there is a similar expression made for the Dashboard profile, but in this case it is used to generate a chart.

hhkaos avatar Oct 17 '23 10:10 hhkaos