Skip to contents

Get minimum and maximum elevation for a given polygon

Usage

minmaxDTM_get(polygon)

Arguments

polygon

the polygon layer with only one object (area less than 10 ha), the larger the polygon area, the lower DTM resolution, the input coordinate system must be EPSG:2180

Value

a data frame with vector points and min/max terrain elevation (EPSG:2180)

Examples

if (FALSE) { # \dontrun{
library(sf)
polygon_path = system.file("datasets/search_area.gpkg", package = "rgugik")
polygon = read_sf(polygon_path)
minmax = minmaxDTM_get(polygon)
} # }