zonal_statistics
Compute statistical summaries of raster values within polygon zones, including mean, min, max, and standard deviation, for geospatial analysis.
Instructions
Calculate statistics of raster values within polygons (zonal statistics). Args: raster_path: Path to the raster file. vector_path: Path to the vector file (polygons). stats: List of statistics to compute (e.g., ["mean", "min", "max", "std"]). Returns: Dictionary with status, message, and statistics per polygon.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raster_path | Yes | ||
| vector_path | Yes | ||
| stats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||