load_Data50: Load or save from Data50

View source: R/load_Data50.R

load_Data50R Documentation

Load or save from Data50

Description

Load data from Data50 data source (https://geoportal.cuzk.cz/(S(xbw0cmgh1cve4bciko2oo4e2))/Default.aspx?lng=EN&mode=TextMeta&side=mapy_data50&text=dSady_mapyData50&head_tab=sekce-02-gp&menu=2290). The data can be used only after correctly citing the creator (as per terms of use https://geoportal.cuzk.cz/Dokumenty/Podminky_EN.pdf). The citation is in form "Mapový podklad – Data50, insert year © Český úřad zeměměřický a katastrální, www.cuzk.cz".

Some basic description of the dataset Data50 or Data200. Most importantly names of layers and sizes of files that need to be downloaded.

Usage

load_Data50(layer, WGS84 = FALSE)

save_Data50(path, layer = NULL, type = NULL)

load_Data50_info(english_names = FALSE)

Arguments

layer

identification of data to extract as character, see details.

WGS84

convert data to WGS-84 coordinate system? Default FALSE.

path

character path to store the files to.

type

character type of layers to save. See details, types are listed in brackets.

english_names

change the names of the columns to English. Default FALSE.

Details

The layer can have values from following set, in the bracket is the name of general category (can be used as type in saving the data):

  1. "BlokBudov" ("sidelniKulturniHospodarskeObjekty")

  2. "Budova" ("sidelniKulturniHospodarskeObjekty")

  3. "Hrad" ("sidelniKulturniHospodarskeObjekty")

  4. "Hrbitov" ("sidelniKulturniHospodarskeObjekty")

  5. "ChatovaKolonie" ("sidelniKulturniHospodarskeObjekty")

  6. "Kostel" ("sidelniKulturniHospodarskeObjekty")

  7. "LyzarskyMustek" ("sidelniKulturniHospodarskeObjekty")

  8. "RozhlednaVysilac" ("sidelniKulturniHospodarskeObjekty")

  9. "Rozvalina" ("sidelniKulturniHospodarskeObjekty")

  10. "Stadion" ("sidelniKulturniHospodarskeObjekty")

  11. "UsazovaciNadrzOdkaliste" ("sidelniKulturniHospodarskeObjekty")

  12. "VetrnyMotor" ("sidelniKulturniHospodarskeObjekty")

  13. "VezovitaStavba" ("sidelniKulturniHospodarskeObjekty")

  14. "VodojemVezovy" ("sidelniKulturniHospodarskeObjekty")

  15. "Zamek" ("sidelniKulturniHospodarskeObjekty")

  16. "Zricenina" ("sidelniKulturniHospodarskeObjekty")

  17. "Cesta" ("komunikace")

  18. "LanovaDraha" ("komunikace")

  19. "Lavka" ("komunikace")

  20. "Letiste" ("komunikace")

  21. "LetisteObvodovaLinie" ("komunikace")

  22. "Most" ("komunikace")

  23. "Pesina" ("komunikace")

  24. "Pristav" ("komunikace")

  25. "Privoz" ("komunikace")

  26. "SilniceDalnice" ("komunikace")

  27. "SilniceVeVystavbe" ("komunikace")

  28. "Tunel" ("komunikace")

  29. "Ulice" ("komunikace")

  30. "ZeleznicniStanice" ("komunikace")

  31. "ZeleznicniTrat" ("komunikace")

  32. "ZeleznicniVlecka" ("komunikace")

  33. "ElektrickeVedeni" ("produktovodyElektrickeVedeni")

  34. "Produktovod" ("produktovodyElektrickeVedeni")

  35. "Akvadukt" ("vodstvo")

  36. "Hraz" ("vodstvo")

  37. "Jez" ("vodstvo")

  38. "Shybka" ("vodstvo")

  39. "VodniPlocha" ("vodstvo")

  40. "VodniTok" ("vodstvo")

  41. "HraniceSpravniJednotkyaKU" ("hraniceUzemnichJednotek")

  42. "ChraneneUzemi" ("hraniceUzemnichJednotek")

  43. "Les" ("vegetacePovrch")

  44. "LoukaPastvina" ("vegetacePovrch")

  45. "RaselinisteMocalBazina" ("vegetacePovrch")

  46. "ZahradaSadParkViniceChmelnice" ("vegetacePovrch")

  47. "Jeskyne" ("terenniRelief")

  48. "KotovanyBod" ("terenniRelief")

  49. "SkalnatySraz" ("terenniRelief")

  50. "Skaly" ("terenniRelief")

  51. "TerenniStupen" ("terenniRelief")

  52. "TerenniStupenSpadnice" ("terenniRelief")

  53. "Vrstevnice" ("terenniRelief")

  54. "DefinicniBodCastiObce" ("popis")

  55. "DefinicniBodSpravnihoCelku" ("popis")

  56. "Jmeno_B" ("popis")

  57. "Jmeno_L" ("popis")

  58. "Jmeno_P" ("popis")

  59. "ObjektRuzny" ("popis")

Value

"load_Data50" - data.frame with spatial objects (sf) of the specified layer. "save_Data50" - path to the unzipped files (for layer) or folder (for type), the zipped file is also stored at path (mainly for further use)

data.frame with description of layers.

Functions

  • load_Data50(): Loads single dataset

  • save_Data50(): Download and store layer (and zipped general category) or complete category

  • load_Data50_info(): Load information about layers in Data50.

Examples

## Not run: 
    rivers <- load_Data50(layer = "VodniTok")

## End(Not run)
## Not run: 
    folder_communications <- save_Data50("~/data/coomunications", type = "komunikace")

## End(Not run)
## Not run: 
    info <- load_Data50_info(english_names = TRUE)
    info <- load_Data200_info(english_names = TRUE)

## End(Not run)

JanCaha/CzechData documentation built on Sept. 22, 2023, 2:47 a.m.