compare_declared_area
Compare declared project or stratum hectares against areas calculated from a GIS layer, flagging differences above a specified tolerance.
Instructions
Compare areas declared in a project document (PD, monitoring report) with the areas calculated from the layer, and flag differences above a tolerance.
Args: path: Polygon layer with the project area or strata. declared_ha: Declared hectares, keyed by stratum value and/or "total", e.g. {"total": 8000, "dense_forest": 5200}. stratum_field: Attribute holding the stratum (needed for per-stratum keys). tolerance_pct: Accepted absolute difference in percent (default 1.0). layer: Layer name inside a multi-layer file (optional). crs: Projected CRS to measure in (optional, equal-area by default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs | No | ||
| path | Yes | ||
| layer | No | ||
| declared_ha | Yes | ||
| stratum_field | No | ||
| tolerance_pct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||