Hui Jeong(Hailyee) Ha

Human Mobility, Transportation & Spatial Data Science

All research stories

Spatial Methods & Software

Where do two maps agree?

We used SSIMmap to compare fire-weather maps in British Columbia and neighbourhood deprivation maps in Toronto.

Two maps of British Columbia compare where fire weather patterns matched between two summer days and between a summer and an autumn day.
Figure 4. Look at where the two August days agree, then compare that with an August day and a November day. Full size

When I put two maps side by side, I can usually see whether they look alike overall. It takes longer to work out which neighbourhoods agree and which ones differ. That’s the question we built SSIMmap to answer.

For each part of a map, we compare three things: the average values nearby, how much those values vary, and whether the same places tend to be high or low. In British Columbia, the two August fire-weather maps agreed more closely than an August map and a November map.

In Toronto, we compared two ways to measure neighbourhood disadvantage. The first map uses a score for residential instability from CIMD. The second uses a score for social deprivation from MSDI. We also mapped a measure of trips to work across local census boundaries. Try looking at the two deprivation maps below first. Then look at the similarity maps to see where the agreement holds up.

Polygon case · Toronto’s census areas

The Toronto case uses 279 Statistics Canada areas from the 2021 census. Each area is a polygon, so it can be a different shape and size. We compared the social measures from the Canadian Index of Multiple Deprivation (CIMD) and the Material and Social Deprivation Index (MSDI). Then we compared CIMD with the share of households that commute outside their local census boundaries.

Three original Toronto polygon maps show CIMD, MSDI and the commuting measure.
Figure 5. The three maps we put into the Toronto comparisons. Full size

We converted each measure to percentiles before comparing the maps. We chose the number of nearby areas used for each local comparison from the data. This gave 87 for the two deprivation maps and 91 for deprivation and commuting.

Four original Toronto polygon maps show local similarity and adjusted q-values for both comparisons.
Figure 7. The two deprivation maps agreed more strongly. The local scores and the q-value maps show where that agreement held up. Full size
Polygon workflow, bandwidth and raster figures
The manuscript diagram shows the polygon SSIM workflow and bandwidth selection.
Figure 2. The workflow for comparing irregular polygon maps. Full size
The manuscript graphs show how bias and variance change as more nearby areas are included.
Figure 6. How we chose the comparison scale for the two Toronto examples. Full size
Workflow diagram for comparing maps made from a regular grid.
Figure 1. The workflow for comparing raster maps. Full size
Three maps of fire weather in British Columbia on 16 and 18 August and 11 November 2023.
Figure 3. The British Columbia fire-weather maps used in the raster example. Full size

The original paper

Map Comparison with the Spatial Structural Similarity Index (SSIM)
Cartography and Geographic Information Science

Figures from the manuscript dated October 28, 2026.