R Package • Urban Climate Analysis

Urban Climate Analysis in R

LCZ4r is a comprehensive R package for analyzing and visualizing Local Climate Zones (LCZ) and Urban Heat Islands (UHI).

code.R
if (!require("remotes")) { install.packages("remotes")}
# Install or update directly from GitHub
remotes::install_github("ByMaxAnjos/LCZ4r",, upgrade= = "never")
library(LCZ4r)
 
# Get the LCZ map for your city
lcz_map <- lcz_get_map(city="São Paulo")
 
# Visualize the obtained LCZ map
lcz_plot_map(lcz_map)
Scroll
17
Functions
4
Languages
5
Continents
Nature
Published in
The Package

From Data to Insight

LCZ4r simplifies the entire workflow of urban climate analysis. It provides a suite of tools to download, process, visualize, and interpret LCZ and UHI data, making complex spatial analysis accessible to researchers, urban planners, and climate scientists.

Get Started
LCZ Map Preview
Core Features

A Complete Toolkit for Urban Climate Research

Explore the key functionalities that make LCZ4r a powerful tool for urban climate studies.

01

Global Data Access

Download Local Climate Zone maps from global, European, and USA datasets, or bring your own data from the LCZ Generator.

Global Data Access
02

Advanced Visualization

Create publication-quality maps of LCZ classifications, thermal anomalies, and interpolated temperature surfaces.

Advanced Visualization
03

In-depth Analysis

Calculate LCZ area distributions, analyze time series data, and quantify Urban Heat Island intensity with specialized functions.

In-depth Analysis
04

QGIS Integration

Seamlessly integrate LCZ4r with QGIS for a powerful and user-friendly geospatial analysis experience.

QGIS Integration
Reference

All Functions

Function Description
lcz_get_map()
Download LCZ maps from the global dataset
lcz_get_map_euro()
Download LCZ maps from the European dataset
lcz_get_map_usa()
Download LCZ maps from the USA dataset
lcz_get_map_generator()
Download LCZ maps from the LCZ Generator Platform
lcz_plot_map()
Visualize LCZ maps
lcz_plot_parameters()
Visualize LCZ parameter maps
lcz_cal_area()
Calculate the area of LCZ classes
lcz_get_parameters()
Retrieve LCZ parameters
lcz_ts()
Analyze LCZ time series
lcz_anomaly()
Calculate LCZ thermal anomalies
lcz_anomaly_map()
Map LCZ thermal anomalies
lcz_interp_map()
Map LCZ interpolation results
lcz_interp_eval()
Evaluate LCZ interpolation accuracy
lcz_uhi_intensity()
Assess Urban Heat Island intensity
LCZ4r-QGIS Plugin

Geospatial Analysis, Simplified

The LCZ4r-QGIS plugin brings the power of LCZ4r directly into your QGIS environment.

English Português Español Deutsch Français Italiano 中文 日本語 한국어 Русский

Compatible with QGIS 3.x and above. Integrates directly with the LCZ4r R package.

Learn more about the Plugin
Urban Climate Platform

Interactive Urban Climate Platform

This platform was developed specifically for Geography students and researchers interested in understanding urban climate phenomena.

🏙️ Urban Heat Islands (UHI): Phenomenon where urban areas present higher temperatures than surrounding rural areas.
🗺️ Local Climate Zones (LCZ): Classification system that categorizes different types of urban land cover and land use.
Access Platform
Urban Climate Platform Preview
clima-urbano.streamlit.app LIVE
Scientific Publication

Published in Nature

Nature Scientific Reports

LCZ4r package R for local climate zones and urban heat islands

Max Anjos, Dayvid Medeiros, Francisco Castelhano, Fred Meier, Tiago Silva, Ezequiel Correia & Antônia Lopez

The methodologies and applications of the LCZ4r package are detailed in our peer-reviewed publication in Nature Scientific Reports.

Read the Paper
Nature Publication
The Team

Meet the Developers

LCZ4r is developed and maintained by a dedicated team of researchers and scientists.

Dr. Max Anjos
Dr. Max Anjos
Lead Developer & Maintainer
Fundação Oswaldo Cruz Rondônia (FIOCRUZ-RO), Brasil
Dr. Fred Meier
Dr. Fred Meier
Contributor & LCZ Expert
Technische Universität Berlin, German
Dr. Francisco Castelhano
Dr. Francisco Castelhano
Contributor & LCZ Expert
Universidade Federal do Rio Grande do Norte, Brasil
Dr. António Lopes
Dr. António Lopes
Contributor & LCZ Expert
University of Lisbon, Portugal
Dayvid Carlos de Medeiros
Dayvid Carlos de Medeiros
Contributor R
Universidade Federal do Rio Grande do Norte, Brasil
Dr.Tiago Silva
Dr.Tiago Silva
Contributor R
University of Lisbon, Portugal
Antônio Campos Neto
Antônio Campos Neto
Contributor R
Universidade Federal do Rio Grande do Norte, Brasil
José Felipe da Costa Neto
José Felipe da Costa Neto
Contributor R
Universidade Federal do Rio Grande do Norte, Brasil
Funding

Supported By

The development of LCZ4r is made possible through the generous support of the following organizations:

CAPES — Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (Finance Code 001)
Alexander von Humboldt Foundation

Ready to get started?

Explore the package, contribute on GitHub, or get in touch with the team.