Urban Heat Island QGIS plugin (Landsat 10/11)
A QGIS tool for GIS analysts: give it a place, a date and a radius, and it makes two ready-to-use maps showing how hot the ground is and where the hottest parts of the city are.
What it does
The plugin looks for a Landsat satellite image of your area close to the date you choose, reads the two heat-sensing channels on the satellite, and adds two layers to your QGIS project:
- LST (land surface temperature) — a colour map of how warm the ground is, in °C. Blue is cooler, red is hotter.
- UHI (urban heat island) — an easier-to-read map with five heat zones: cool, slightly cool, average, warm, and hot spot.
You do not need to know how to process satellite imagery. You just fill in a short form and the maps appear in your layer panel.
No QGIS? There is also a standalone desktop app with the same maths in
desktop_app/. One command is enough — no Tk, GDAL or
conda setup:
pip install uhi-desktop
uhi-desktop
Install
Download uhi_landsat_plugin_v1.0.0.zip from the
latest release,
or install straight from QGIS:
- Plugins → Manage and Install Plugins → Settings…
- Tick Add new repository, name it
Urban Heat Island, and use this URL:https://raw.githubusercontent.com/krishnaduttPanchagnula/qgis-urban-heat-island/main/plugins.xml - Search for Urban Heat Island (Landsat 10/11) and click Install Plugin.
Manual install: unzip the release into your QGIS Python plugins folder, e.g.
~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/, so that
uhi_landsat/metadata.txt sits directly under that folder. Restart QGIS and
enable the plugin in Plugins → Manage and Install Plugins. The city/heat icon
appears in the plugin manager and on the toolbar.
No extra software is needed — QGIS already includes everything the plugin needs.
Before you start: getting the satellite data
The satellite files are free, but you need one of these three ways to reach them. Pick whichever is easiest for you:
| Option | What you need | Best for |
|---|---|---|
| Folder on my computer | The satellite files already downloaded from USGS EarthExplorer into one folder | Offline work, or if you do not have cloud accounts |
| AWS account | An Amazon Web Services account (downloads cost a few cents) | Automatic download, no manual searching |
| USGS website login | Your USGS EarthExplorer login cookie | Automatic download with an existing USGS account |
Leave the source on Automatic – try all options and the plugin will try each available option in turn and use the first one that works. If one fails, you will see the reason and it will move to the next one.
How to use it
- Click the heat-island icon in the QGIS toolbar (or find it in the Plugins menu).
- Date — choose the day you are interested in. A dry, cloud-free day works best. If there is no satellite pass on that exact day, the plugin looks up to one week before or after and uses the clearest image it finds.
- Location name — type a name such as
Milan. This is only used to name the output layers. - Latitude / Longitude — the centre of the area. You can read these off the QGIS status bar by clicking on the map.
- Radius (km) — how far around that point to map. 20 km is a good start.
- Output folder — where the two maps will be saved.
- Where to get the data — choose one of the three options above. If you pick
Folder on my computer, click
...and select the folder. - Click OK. A progress bar appears; you can cancel at any time. QGIS stays usable while it works.
Two layers then appear in your layer panel, already coloured and ready to use. A message at the bottom of QGIS tells you which data source worked and the average temperature for your area.
Understanding the maps
- The LST layer shows actual ground temperature in °C. Use it to compare neighbourhoods or to find the warmest surfaces.
- The UHI layer sorts the area into five zones relative to the average for
that image:
1cool,2slightly cool,3average,4warm,5hot spot. Value0means no result — usually cloud or water. - The zones are relative to the area and date you chose. They are excellent for spotting heat patterns within one map, but two maps from different dates should only be compared if you used the same area and settings.
Practical tips
- Cloudy days hide the ground. Try a dry month, or let the plugin pick the clearest nearby date.
- Cloudy and water pixels are automatically left out, so they will not distort your results.
- Larger radii take longer to process. Start with 20 km and increase if needed.
- Only Landsat 8 and 9 are supported (the satellites with heat channels 10 and 11).
- Something not working? Open an issue with the message from QGIS and the date and place you entered.
For the technically minded
Scene discovery uses the public USGS LandsatLook and Element84 Earth Search STAC
catalogues. Band files come from the first working of: local folder, the
requester-pays usgs-landsat S3 bucket, or landsatlook.usgs.gov with a session
cookie. Temperature is a split-window estimate,
T = T10 + A·(T10−T11) + B·(T10−T11)² + C with A=1, B=0, C=0, after radiance and
brightness-temperature conversion using the scene MTL file. Clear-sky pixels are
selected with QA_PIXEL bits 6 and 7. Processing is streamed in 512-row blocks, so
peak memory stays near 100 MB. Every output GeoTIFF stores provenance: source used,
scene ID, acquisition time, band paths, retrieval time, licence and coefficients.
shortcut: the split-window uses fixed coefficients (clear sky, ~0.97 emissivity), so this is a relative heat-island product, not a calibrated absolute temperature. For absolute LST, use USGS Collection 2 Level-2 ST_B10.
Tests
python3 tests/test_core.py— pure logic, no QGIS needed.python3 tests/test_integration.py— end-to-end for the QGIS backend (needs GDAL).QT_QPA_PLATFORM=offscreen python3 tests/test_desktop.py— desktop app worker (only pip packages: PySide6, rasterio, numpy).
Publishing
Maintainers: see PUBLISHING.md for PyPI trusted publishing and
manual twine upload instructions.
Metadata
Release files for uhi-desktop 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uhi_desktop-1.2.0.tar.gz | 33.7 kB | With provenance | Details for uhi_desktop-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uhi_desktop-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for uhi_desktop-1.2.0-py3-none-any.whl |
Total release size: 63.7 kB
Release files / uhi_desktop-1.2.0.tar.gz
| Download URL | uhi_desktop-1.2.0.tar.gz |
|---|---|
| Size | 33.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
530773538a271ed23f74abf20ec6ecf7ff84c7cbbf0ff4854c540a33bf1fc85e
|
|
BLAKE2b-256 checksum How to use checksums |
30d89d152e224e397fefe2d7e3952311a1ab99fc37e1b3b37aba85ee8059345e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / uhi_desktop-1.2.0-py3-none-any.whl
| Download URL | uhi_desktop-1.2.0-py3-none-any.whl |
|---|---|
| Size | 30.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6bdd78343b530bae538bef7bb58b167c974a30d374ecb0b45d303b2864fc21d
|
|
BLAKE2b-256 checksum How to use checksums |
a48424fce9a2d62e22a606e91fc8d4aeb7f019e0dc9b68355f87f5f7f0109fb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for uhi-desktop 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for uhi_desktop-1.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.