Skip to contents

Function taking no parameters and returning data frame of cadastral areas (katastrální území) as sf polygons.

Usage

katastry()

Source

© ČÚZK, 2024 https://vdp.cuzk.cz/

Value

sf data frame with 142 rows of 4 variables + geometry

KOD

Code of the cadastral area / kód katastrálního území

NAZEV

Name of the cadastral area / název katastrálního území

KOD_OBEC

Code of the municipality

NAZ_OBEC

Name of the municipality

digi

boolean indicating completed digitalization

Details

Due to package size constraints the data are stored externally (and a working internet connection is required to use the package).

The dataset is based on RUIAN data by the Czech cadastral office. If necessary you can download the most up to date raw dataset in VFR format (a special case of XML which is understood by GDAL) on https://vdp.cuzk.cz/vdp/ruian/vymennyformat (in Czech only).

The data is current to June 2024. Downloaded size is 26.1 MB.

Examples


# \donttest{
library(sf)

# which cadastral area of Prague is the smallest?
praha <- RCzechia::katastry() |>
   subset(NAZ_OBEC == "Praha")
#> RCzechia: using dataset stored locally in ~/.rczechia

smallest <- which.min(sf::st_area(praha))

# it is Josefov - the former Jewish Ghetto
mapview::mapview(praha[smallest, ])

# }