rsaga.contour {RSAGA} | R Documentation |
Creates a contour lines shapefile from a grid file in SAGA grid format.
rsaga.contour(in.grid, out.shapefile, zstep, zmin, zmax, ...)
in.grid |
input: digital elevation model (DEM) as SAGA grid file
(default file extension: .sgrd ) |
out.shapefile |
output: contour line shapefile. Existing files will be overwritten! |
zstep,zmin,zmax |
lower limit, upper limit, and equidistance of contour lines |
... |
arguments to be passed to rsaga.geoprocessor |
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 (R interface), Olaf Conrad (SAGA module)