pointDTM_get: Get terrain elevation for a given polygon

Description Usage Arguments Value Examples

View source: R/pointDTM_get.R

Description

Get terrain elevation for a given polygon

Usage

1
pointDTM_get(polygon, distance = 1, print_iter = TRUE)

Arguments

polygon

the polygon layer with only one object (its area is limited to the 20 ha * distance parameter), the input coordinate system must be EPSG:2180

distance

distance between points in meters (must be integer and greater than 1)

print_iter

print the current iteration of all (logical, TRUE default)

Value

a data frame with vector points and terrain elevation (EPSG:2180, Vertical Reference System:PL-KRON86-NH)

Examples

1
2
3
4
5
6
7
## Not run: 
library(sf)
polygon_path = system.file("datasets/search_area.gpkg", package = "rgugik")
polygon = read_sf(polygon_path)
DTM = pointDTM_get(polygon, distance = 2)

## End(Not run)

rgugik documentation built on May 5, 2021, 1:07 a.m.