watershed
Generates a basin raster (GeoTIFF) from a DEM and pour points, assigning each basin a 1-based ID in point order. Non-draining cells remain nodata; points are aligned to the DEM CRS.
Instructions
Watershed of each pour point: DEM + points in, basin raster out (GeoTIFF).
Basins get 1-based IDs following the pour-point feature order; cells not draining to any point stay nodata. Points are aligned to the DEM CRS automatically (decision recorded). Requires the [whitebox] extra.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dem_path | Yes | ||
| output_path | Yes | ||
| pour_points_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||