geodb_download: Download General Geographic Databases for entire voivodeships

Description Usage Arguments Value References Examples

View source: R/geodb_download.R

Description

Download General Geographic Databases for entire voivodeships

Usage

1
geodb_download(voivodeships, outdir = ".", unzip = TRUE, ...)

Arguments

voivodeships

selected voivodeships in Polish or English, or TERC (object voivodeship_names can by helpful)

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 general geographic map in the scale of 1:250000

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
6
## Not run: 
geodb_download(c("opolskie", "lubuskie")) # 12.7 MB
geodb_download(c("Opole", "Lubusz")) # 12.7 MB
geodb_download(c("16", "08")) # 12.7 MB

## End(Not run)

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