topodb_download: Download Topographic Databases for counties

Description Usage Arguments Value References Examples

View source: R/topodb_download.R

Description

Download Topographic Databases for counties

Usage

1
topodb_download(county = NULL, TERYT = NULL, outdir = ".", unzip = TRUE, ...)

Arguments

county

county name in Polish. Check county_names() function.

TERYT

county ID (4 characters)

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

a database in Geography Markup Language format (.GML), the content and detail level corresponds to the topographic map in the scale of 1:10000

References

description of topographical and general geographical databases, and technical standards for making maps (in Polish): http://www.gugik.gov.pl/__data/assets/pdf_file/0005/208661/rozp_BDOT10k_BDOO.pdf

brief description of categories and layer names (in English and Polish): https://kadyb.github.io/rgugik/articles/articles/spatialdb_description.html

Examples

1
2
3
4
5
## Not run: 
topodb_download(county = "Świętochłowice") # 2.4 MB
topodb_download(TERYT = c("2476", "2264")) # 4.8 MB

## End(Not run)

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