Learn R Programming

rgugik (version 0.4.1)

minmaxDTM_get: Get minimum and maximum elevation for a given polygon

Description

Get minimum and maximum elevation for a given polygon

Usage

minmaxDTM_get(polygon)

Value

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

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

Examples

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

Run the code above in your browser using DataLab