The Aggregate Points tool uses area features to summarize a set of point features. The boundaries from the area feature are used to collect the points within each area and use them to calculate statistics. The resulting layer displays the count of points within each area using graduated symbols.
Tornadoes are the most violent type of storm that occurs in the United States. You want to know the effect of tornadoes, including loss of life, injuries, property damage, and financial loss, in each state and county. You have access to tornado locations across the United States, but you need a better way to visualize your data within the boundaries of your choice. You can aggregate your tornado data into state and county boundaries and normalize your data by population to find the areas most affected by tornadoes.
See the Twister! United States tornadoes case study for the complete workflow.
ArcGIS Living Atlas of the World state and county layers include population data and can be used to aggregate your tornado data.
Aggregate Points is designed to collect and summarize point features within a set of boundaries. The input parameters must include points to be aggregated and aggregation areas.
You can provide the area layer to use for analysis, or you can generate bins of a specified size and shape (hexagon or square) to aggregate into. The bin size specifies how large the bins are. If you are aggregating into hexagons, the size is the height of each hexagon and the width of the resulting hexagon will be 2 times the height divided by the square root of 3. If you are aggregating into squares, the bin size is the height of the square, which is equal to the width.
Depending on the configuration of your organization, you will have access to either Living Atlas Analysis Layers, such as counties and hexbins, or Custom Analysis Layers. Click the drop-down arrow for the Choose layer containing aggregation areas parameter to select an analysis layer to use as a boundary.
The Keep areas with no points box is checked by default. When the box is checked, all of the areas used in the analysis will be included in the result, regardless of the location of points. Areas with no points will be empty and have a count of 0. When the box is unchecked, the areas with no points are completely removed from the result layer. Unchecking the box may have a significant effect on the result areas.
The most basic aggregations will calculate a count of the number of points in each boundary. Basic statistics (sum, minimum, maximum, average, and standard deviation) can also be calculated on numerical fields. The statistics will be calculated on each area separately.
Statistical calculations can also be grouped using a field with categorical values. When statistics are grouped by a field, the statistics are calculated for both the area as a whole and for each group. Both statistics can be viewed in the result layer's pop-up. The overall statistics are given numerically and the grouped statistics are given in chart form within the pop-up. A summary table listing each feature and statistic by group field value will also be created. The Add minority, majority check box will return the groups with the lowest and highest counts and the Add percentages check box will return the percentage of points in the minority and majority groups.
If Use current map extent is checked, only the features in the input point layer and area layer visible within the current map extent will be analyzed. If unchecked, all features in both the input point layer and the area layer will be analyzed, even if they are outside the current map extent.
Click Show Credits before you run your analysis to check how many credits will be consumed.
Inputs must include a point layer and an area layer. Lines and areas cannot be aggregated within boundaries using the Aggregate Points tool.
How Aggregate Points works
Square and hexagonal bins can be generated for aggregation areas rather than aggregating points into an input area layer. The bins are generated in a custom, area-preserving projected coordinate system using the specified size dimensions to ensure the sizes are equal and appropriate for the area of interest. An appropriate equal-area projection and parameters are chosen based on the geographic extent of the input layers. Once bins are created, they are projected back to the coordinate system of the input data before being used in the analysis.
After the analysis is complete, the result is projected to Web Mercator for display (the default) or to the projection of your custom basemap. A Web Mercator projection may cause your results to appear distorted, especially for large bins or bins near the polar regions. These distortions are part of the display only and do not reflect an inaccurate analysis.
Standard deviation is calculated using the following equation:
Point layers are summarized using only the point features within the input boundary. The results will be displayed using graduated symbols.
The figure and table below explain the statistical calculations of a point layer within a hypothetical boundary. The Population field was used to calculate the statistics (Sum, Minimum, Maximum, Average, and Std Deviation) for the layer.
|Statistic||Result District A|
A real-life scenario in which this analysis could be used is in determining the total number of students in each school district. Each point represents a school. The Type field gives the type of school (elementary, middle school, or secondary) and a student population field gives the number of students enrolled at each school. The calculations and results are given for District A in the table above. From the results, you can see that District A has 2,568 students. When running the Aggregate Points tool, the results would also be given for District B.
Use Aggregate Points to summarize points within areas. Other tools may be useful in solving similar but slightly different problems.
Map Viewer analysis tools
If you are trying to summarize lines or areas, use the Summarize Within tool.