rsaga.contour {RSAGA} | R Documentation |
Contour Lines from a Grid
Description
Creates a contour lines shapefile from a grid file in SAGA grid format.
Usage
rsaga.contour(
in.grid,
out.shapefile,
zstep,
zmin,
zmax,
vertex = "xy",
env = rsaga.env(),
...
)
Arguments
in.grid |
input: digital elevation model (DEM) as SAGA grid file (default file extension: |
out.shapefile |
output: contour line shapefile. Existing files will be overwritten! |
zstep , zmin , zmax |
lower limit, upper limit, and equidistance of contour lines |
vertex |
optional parameter: vertex type for resulting contours. Default
|
env |
A SAGA geoprocessing environment, see |
... |
arguments to be passed to |
Value
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 (the default) a character vector with the module's console output.
Author(s)
Alexander Brenning (R interface), Olaf Conrad (SAGA module)