zonal_statistics
Summarize raster values within each polygon to calculate mean, minimum, maximum, standard deviation, and count for spatial analysis.
Instructions
Summarize raster values inside each polygon. stats can include mean, min, max, std, and count.
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": {
"raster_path": "<raster_path>",
"vector_path": "<vector_path>"
},
"name": "zonal_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | No | ||
| offset | No | ||
| raster_path | Yes | ||
| vector_path | Yes | ||
| max_features | No |