minmaxDTM_get function

Get minimum and maximum elevation for a given polygon

Get minimum and maximum elevation for a given polygon

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

Returns

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

Examples

## Not run: library(sf) polygon_path = system.file("datasets/search_area.gpkg", package = "rgugik") polygon = read_sf(polygon_path) minmax = minmaxDTM_get(polygon) ## End(Not run)
  • Maintainer: Krzysztof Dyba
  • License: MIT + file LICENSE
  • Last published: 2025-03-04