Dynamic Aggregation of Features

08-02-2019 07:56 AM
Status: Closed
Occasional Contributor III

Offer the ability in Operations Dashboard to dynamically aggregate a point layer (e.g. currently open incidents) by a polygon layer (e.g. operational divisions).  This could be very useful in a control room situation to quickly assess which areas have the most issues and where to focus attention. It could work similarly to the Info Summary widget in WAB which updates as the map extent changes.

I suppose this could be done if a polygon identifier was already an attribute of the point but that would need to get written into the point layer each time a new record is inserted. Plus you'd have to have an attribute for each polygon geography that you wanted to aggregate by.  If it was done dynamically then it would be easy to aggregate by multiple geometries e.g. a summary at operational division level and then another summary at sub-division level.

1 Comment
Status changed to: Closed

Closing due to inactivity. Note that Dashboards don't know when a new feature has been added per se. This means any sort of dynamic spatial aggregation would need to be done at the layer level, and that would be expensive from a browser processing perspective. Getting a polygon ID attached to a point as it is entered into the system is probably the way to go, and this would probably be best handled via automated processes behind the scenes.  Both ArcGIS Velocity and ArcGIS GeoEvent Server have this kind of real time processing. Else, a Python script/notebook might be able to get the job done (scheduled, or in response to a webhook being triggered) 

Note: Manually determining how many point fall within a polygon can be done in dashboards via our ability to apply spatial filters in response to a selection being made. That is, a polygon gets selected (either via the map or via on of the selector UI controls), and summary statistics can be displayed on the other elements.