Identifies the watershed, or drainage basin, draining to a set of target cells.
watershed(d8_pntr, pour_pts, output, esri_pntr = FALSE,
verbose_mode = FALSE)
Input D8 pointer raster file.
Input vector pour points (outlet) file.
Output raster file.
D8 pointer uses the ESRI style scheme.
Sets verbose mode. If verbose mode is False, tools will not print output messages.
Returns the tool text outputs.