Get the terrain analysis metrics

get_terrain_metrics(polys, DEM, curvature = FALSE)

Arguments

polys

a list of SpatialPolygon

DEM

a Raster

curvature

logical, default to FALSE, if TRUE allows the calculation of profile and planform curvature