Skip to contents

Retrieves the LCZ map produced by the LCZ Generator web application.

Usage

lcz_get_map_generator(
  ID = "3110e623fbe4e73b1cde55f0e9832c4f5640ac21",
  band = "lczFilter",
  isave_map = FALSE,
  lang = "en"
)

Arguments

ID

A code generated by LCZ Factsheet, e.g. "3110e623fbe4e73b1cde55f0e9832c4f5640ac21".

band

Feature to use: "lcz" or "lczFilter" (default).

isave_map

Logical. Save the 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).

References

Demuzere, M., Kittner, J., and Bechtel, B. (2021). LCZ Generator: a web application to create Local Climate Zone maps. Frontiers in Environmental Science 9:637455. doi:10.3389/fenvs.2021.637455

Examples

if (FALSE) { # \dontrun{
my_lcz_map <- lcz_get_map_generator(
  ID = "3110e623fbe4e73b1cde55f0e9832c4f5640ac21"
)
} # }