wbt_sink {whitebox}R Documentation

Sink

Description

Identifies the depressions in a DEM, giving each feature a unique identifier.

Usage

wbt_sink(
  input,
  output,
  zero_background = FALSE,
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

input

Input raster DEM file.

output

Output raster file.

zero_background

Flag indicating whether a background value of zero should be used.

wd

Changes the working directory.

verbose_mode

Sets verbose mode. If verbose mode is False, tools will not print output messages.

Value

Returns the tool text outputs.


[Package whitebox version 1.4.0 Index]