Skip to contents

Retrieves the European Local Climate Zone dataset (Demuzere et al., 2019) for a city or a custom region of interest.

Usage

lcz_get_map_euro(
  city = NULL,
  roi = NULL,
  isave_map = FALSE,
  isave_euro = FALSE,
  lang = "en"
)

Arguments

city

A character string with the name of the target area, as used by OpenStreetMap/Nominatim.

roi

Optional sf/sfc polygon used to clip the LCZ map.

isave_map

Logical. Save the clipped map as a GeoTIFF.

isave_euro

Logical. Save the full European LCZ map as a GeoTIFF.

lang

Language used for console messages and errors. See lcz_langs(). Defaults to "en".

Value

A SpatRaster with LCZ classes (1-17), in EPSG:3035.

References

Demuzere, M., Bechtel, B., Middel, A., and Mills, G. (2019). Mapping Europe into local climate zones. PLOS ONE 14(4), e0214474. doi:10.1371/journal.pone.0214474

Demuzere, M., Bechtel, B., Middel, A., and Mills, G. (2019). European LCZ map. Figshare. doi:10.6084/m9.figshare.13322450

Examples

if (FALSE) { # \dontrun{
my_lcz_city <- lcz_get_map_euro(city = "Berlin")
custom_roi <- sf::st_read("custom_roi.shp")
roi_lcz <- lcz_get_map_euro(roi = custom_roi)
} # }