check_overlap
Calculates overlap between two polygon layers in hectares and percentages, reporting key intersecting feature pairs for project area, protected area, or leakage-belt checks.
Instructions
Overlap between two polygon layers (e.g. project area vs. protected areas, other registered projects, leakage belt or reference region): hectares, percentage of each layer and the largest overlapping feature pairs. Reports 0 ha explicitly.
Args: path_a: First polygon layer (usually the project area). path_b: Second polygon layer. id_field_a: Attribute used to name features of layer A (optional). id_field_b: Attribute used to name features of layer B (optional). layer_a: Layer name inside a multi-layer file A (optional). layer_b: Layer name inside a multi-layer file B (optional). crs: Projected CRS to measure in (optional, equal-area by default). max_pairs: Maximum number of overlapping pairs to list (default 20).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs | No | ||
| path_a | Yes | ||
| path_b | Yes | ||
| layer_a | No | ||
| layer_b | No | ||
| max_pairs | No | ||
| id_field_a | No | ||
| id_field_b | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||