Description Usage Arguments Value Author(s) References See Also Examples
Calculates local morphometric terrain attributes (i.e. slope, aspect and curvatures). Intended for use with SAGA versions 2.1.0 and older. Use rsaga.slope.asp.curv
for SAGA 2.1.1+
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | rsaga.local.morphometry(in.dem, out.slope, out.aspect, out.curv, out.hcurv,
out.vcurv, method = "poly2zevenbergen", env = rsaga.env(), ...)
rsaga.slope(in.dem, out.slope, method = "poly2zevenbergen",
env = rsaga.env(), ...)
rsaga.aspect(in.dem, out.aspect, method = "poly2zevenbergen",
env = rsaga.env(), ...)
rsaga.curvature(in.dem, out.curv, method = "poly2zevenbergen",
env = rsaga.env(), ...)
rsaga.plan.curvature(in.dem, out.hcurv, method = "poly2zevenbergen",
env = rsaga.env(), ...)
rsaga.profile.curvature(in.dem, out.vcurv, method = "poly2zevenbergen",
env = rsaga.env(), ...)
|
in.dem |
input: digital elevation model (DEM) as SAGA grid file (default file extension: |
out.slope |
optional output: slope (in radians) |
out.aspect |
optional output: aspect (in radians; north=0, clockwise angles) |
out.curv |
optional output: curvature |
out.hcurv |
optional output: horizontal curvature (plan curvature) |
out.vcurv |
optional output: vertical curvature (profile curvature) |
method |
character (or numeric): algorithm (see References):
|
env |
list, setting up a SAGA geoprocessing environment as created by |
... |
further arguments 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.
Alexander Brenning and Donovan Bangs (R interface), Olaf Conrad (SAGA module)
For references and algorithm changes in SAGA GIS 2.1.1+ see rsaga.slope.asp.curv
.
rsaga.slope.asp.curv
, rsaga.parallel.processing
, rsaga.geoprocessor
, rsaga.env
1 2 3 4 5 6 7 | ## Not run:
# a simple slope algorithm:
rsaga.slope("lican.sgrd","slope","maxslope")
# same for ASCII grids (default extension .asc):
rsaga.esri.wrapper(rsaga.slope,in.dem="lican",out.slope="slope",method="maxslope")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.