zonal_statistics
Summarize raster values inside zone polygons to produce a statistics table for spatial analysis. Requires the Spatial Analyst extension.
Instructions
Summarise raster values inside zone polygons and return the table. Requires the Spatial Analyst extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | No | Map to act on; defaults to the active map. | |
| zone_field | Yes | Field identifying each zone. | |
| zone_layer | Yes | Polygon layer defining the zones. | |
| output_table | No | Where to write the statistics table. | |
| raster_layer | Yes | Raster to summarise. | |
| ignore_nodata | No | DATA or NODATA. | DATA |
| statistics_type | No | ALL, MEAN, SUM, MINIMUM, MAXIMUM, MEDIAN, MAJORITY, ... | ALL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |