R/envGeomorph.R
geomorph_ras.Rd
from https://github.com/m-saenger/geomorphon/blob/master/geomorphon.R
geomorph_ras(
ras,
outfile = NULL,
windowSize = 11,
flatnessThresh = 1,
doNew = TRUE
)
input DTM (RasterLayer class).
Name of output file. This string will have '_geomorph' appended. Passed to writeRaster.
size (in terms of cells per side) of the neighborhood (moving window) to be used; it must be an odd integer.
If slope < flatnessThresh then flat.
Logical. If outfile already exists, redo anyway.
raster.
M. Sänger 10/2019
Raster data to be on equally spaced grid (e.g. km) Output very sensitive to flatness threshold Function not optmised for performance - run time very long for large data sets