models3D_download: Download 3D models of buildings for counties

Description Usage Arguments Value Examples

View source: R/models3D_download.R

Description

Download 3D models of buildings for counties

Usage

1
2
3
4
5
6
7
8
models3D_download(
  county = NULL,
  TERYT = NULL,
  LOD = "LOD1",
  outdir = ".",
  unzip = TRUE,
  ...
)

Arguments

county

county name in Polish. Check county_names() function.

TERYT

county ID (4 characters)

LOD

level of detail for building models ("LOD1" or "LOD2"). "LOD1" is default. "LOD2" is only available for ten voivodeships (TERC: "04", "06", "12", "14", "16", "18", "20", "24", "26", "28"). Check voivodeship_names() function.

outdir

(optional) name of the output directory; by default, files are saved in the working directory

unzip

TRUE (default) or FALSE, when TRUE the downloaded archive will be extracted and removed

...

additional argument for utils::download.file()

Value

models of buildings in Geography Markup Language format (.GML)

Examples

1
2
3
4
5
## Not run: 
models3D_download(TERYT = c("2476", "2264")) # 3.6 MB
models3D_download(county = "sejneński", LOD = "LOD2") # 7.0 MB

## End(Not run)

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