Skip to contents

This function downloads Digital Elevation Model (DEM) data for a large area specified by a shapefile. The area is divided into a grid of smaller sections based on a specified cell size (in meters) to manage the request size. The DEM data for each section is requested from the RGUGIK service and combined into a single dataframe.

Usage

dem_download_big_area_rgugik(x, y = 316.23)

Arguments

x

The file path to the shapefile defining the area of interest.

y

The cell size (in meters) used to divide the area into a grid. Default is 316.23 (approx. 10 ha cells).

Value

A dataframe containing the DEM data for the specified area.

Examples

if (FALSE) { # \dontrun{
result <- dem_download_big_area_rgugik("path/to/your/shapefile.shp")
result2 <- dem_download_big_area_rgugik("path/to/your/shapefile.shp", y = 500)
print(result)
} # }