tabulate_area
Calculates the area of each categorical raster class within each zone polygon and returns rows with VALUE_ columns for land-cover or zoning summaries. Requires Spatial Analyst.
Instructions
Area of each class of a categorical raster (land cover, zoning) inside each zone polygon, with the rows returned. Columns VALUE_ hold areas in the zone layer's square units; a raster that codes missing data as a value (often 0) gets its own column, which a share usually leaves out. Requires the Spatial Analyst extension.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"zone_layer": "<zone_layer>",
"zone_field": "<zone_field>",
"class_raster": "<class_raster>"
},
"name": "tabulate_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | No | Map to act on; defaults to the active map. | |
| cell_size | No | Processing cell size; default the raster's. | |
| zone_field | Yes | Field identifying each zone. | |
| zone_layer | Yes | Polygon layer defining the zones. | |
| class_field | No | Raster field holding the class. | Value |
| class_raster | Yes | Categorical raster layer or path. | |
| output_table | No | Where to write the table; default <zone layer>_tabulate_area in the project geodatabase. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |