View source: R/RSAGA-modules.R
rsaga.sink.removal | R Documentation |
Sink Removal Remove sinks from a digital elevation model by deepening drainage routes or filling sinks.
rsaga.sink.removal(in.dem, in.sinkroute, out.dem, method = "fill", ...)
in.dem |
input: digital elevation model (DEM) as SAGA grid file (default file extension: |
in.sinkroute |
optional input: sink route grid file |
out.dem |
output: modified DEM |
method |
character string or numeric value specifying the algorithm (partial string matching will be applied): |
... |
optional arguments to be passed to |
The type of object returned depends on the intern
argument passed to the rsaga.geoprocessor()
. For intern=FALSE
it is a numerical error code (0: success), or otherwise (default) a character vector with the module's console output.
This function uses module 1 from SAGA library ta_preprocessor
.
Alexander Brenning (R interface), Olaf Conrad (SAGA module)
rsaga.sink.route()
, rsaga.fill.sinks()
## Not run: rsaga.sink.route("dem","sinkroute") rsaga.sink.removal("dem","sinkroute","dem-preproc",method="deepen") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.