This function retrieves the Local Climate Zone (LCZ) European mapping dataset created by Demuzere et al. (2019) and available at https://doi.org/10.1371/journal.pone.0214474. It allows you to obtain the LCZ map for a specific area of interest, which can be a city, state, region, or custom-defined shape.
Arguments
- city
A character string specifying the name of your target area based on the OpenStreetMap project.
- roi
Optionally, you can provide a Region of Interest (ROI) in ESRI shapefile format to clip the LCZ map to a custom area.
- isave_map
Logical. Set to TRUE if you wish to save the resulting clipped map as a raster TIFF file on your local machine.
- isave_euro
Logical. Set to TRUE if you wish to save the European LCZ map as a raster TIFF file on your local machine.
References
Demuzere, M., Bechtel, B., Middel, A., & Mills, G. (2019). Mapping Europe into local climate zones. PLOS ONE, 14(4), e0214474. DOI:https://doi.org/10.1371/journal.pone.0214474 Demuzere, M.; Bechtel, B.; Middel, A.; Mills, G. (2019): European LCZ map. Figshare. Dataset. https://doi.org/10.6084/m9.figshare.13322450 Anjos, M. (2024). LCZ4r Package Dataset. Zenodo. https://doi.org/10.5281/zenodo.10835692
Examples
if (FALSE) { # \dontrun{
# Example 1: Load the LCZ map for a city
my_lcz_city <- lcz_get_map_euro(city = "Berlin")
# Example 2: Get LCZ map for a custom region of interest
custom_roi <- sf::st_read("custom_roi.shp")
roi_lcz <- lcz_get_map_euro(roi = custom_roi)
} # }