Skip to main content

Aggregate Polygons

The Aggregate Polygons tool performs statistical analysis of polygons, e.g. count, sum, min, or max, and aggregates the information on polygons.

1. Explanation

The Aggregate Polygons tool can be used to analyze the characteristics of polygons within a given area. It aggregates the information of the polygons and allows calculation of the polygon count, the sum of polygon attributes, or derive e.g. the maximum value of a certain polygon attribute within an aggregation area.

The example below shows the geometry of the Source Layer remains unchanged, while its attributes are enriched by aggregating information from the Area of Aggregation.

Polygon Aggregation

2. Example use cases

  • Visualizing the number of parks per city district.
  • Calculating the mean building size in an area.
  • Aggregating population numbers on a hexagonal grid and calculating population densities.

3. How to use the tool?

1
Click on Toolbox Options.
2
Under the Geoanalysis menu, click on Aggregate Polygons.

Layer to aggregate

3
Select your Source Layer, which contains the data you like to aggregate.

Summary Areas

4
Select on which Area Type you like to aggregate the source layer. You can choose between Polygon or H3 grid.
5
Select the Area Layer which contains the polygons on which you like to aggregate your point data.

Statistics

6
Select the Statistic Method and Field Statistics (the field in the source layer that is used to group the aggregation.).

Available Statistics Methods are listed in the following. The available methods depend on the data type of the chosen attribute:

MethodTypeDescription
Countstring,numberCounts the number of non-null values in the selected column
SumnumberCalculates the sum of all the numbers in the selected column
MeannumberCalculates the average (mean) value of all numeric values in the selected column
MediannumberYields the middle value in the selected column's sorted list of numeric values
MinnumberYields the minimum value of the selected column
MaxnumberYields the maximum value of the selected column
7
If you want, you can enable the Weighted by Intersection Area by clicking on the options button Options. Therewith, aggregated values are weighted by the share of the intersection area between the Source Layer and the Aggregation Layer.
8
Click on Run.

Results

As soon as the calculation process is finished, the resulting layer Aggregation Polygon will be added to the map. The result layer will consist of the information of the source layer and an additional column showing the results from the statistical operation. You can see the table by clicking on the polygon on the map.

Polygon Aggregation Result in GOAT

Tip

Want to style your result layer and create nice-looking maps? See Styling.