area_by_stratum
Calculate total and per-stratum polygon area in an equal-area CRS for carbon project audits. Dissolves overlapping polygons so ground is counted once, reporting overlaps within and between strata.
Instructions
Area in hectares of a polygon layer, in total and per stratum, measured in an equal-area CRS. Overlapping polygons are dissolved so ground is never counted twice, and the overlap inside each stratum and between strata is reported.
Args: path: Polygon layer (project area, strata, eligible area...). stratum_field: Attribute holding the stratum or class (optional). layer: Layer name inside a multi-layer file (optional). crs: Projected CRS to measure in, e.g. "EPSG:32720". If omitted, a local Lambert Azimuthal Equal Area projection centred on the data is used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs | No | ||
| path | Yes | ||
| layer | No | ||
| stratum_field | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||