All thirty days

Day 21: OpenStreetMap

Canada's 7,709 km of winter and ice roads in OpenStreetMap, and the 54 communities, 36,004 people, whose only road out on the map melts every spring.

winter.json
Loading 7,709 km of winter roads and 179 communities
Show or hide
Click a road or a dot.

Every winter, once the muskeg and the lakes freeze hard enough to carry a truck, northern Canada builds roads that are gone by spring. This map draws them as OpenStreetMap does: 1,341 ways, 7,709 km in all, 5,344 km of them tagged as winter roads and 2,365 km as ice roads across frozen lakes and rivers. Then it asks, for every block of the 2021 Census, whether OpenStreetMap's roads lead from it to the rest of the continent, in summer and in winter. For 36,868,268 people, 99.67% of the count, a road runs all year.

Magenta is a community whose only road out, in OpenStreetMap, is a winter road: 54 of them, 36,004 people, most in northern Ontario (24), Manitoba (13) and the Northwest Territories (9). The largest is St. Theresa Point, Manitoba, 3,417 people, 234 km by winter road from a road open all year; with Garden Hill and Wasagamack, its neighbours on Island Lake, that is 8,559 people. 28 communities are 200 km or more from one, and Sachigo Lake, Ontario, is the farthest: 504 km. Seven more on winter roads, Pikangikum among them, have no 2021 count at all, as on Day 18, so the true number is higher.

Amber is the reverse: a ferry in summer, and in winter no road. That is Labrador's coast, 7 communities and 3,266 people, from Domino up to Nain. Ink is no road out in any season: 118 communities, 62,973 people. They are all 25 communities of Nunavut, the largest Iqaluit with 7,429 people, and the 14 Inuit villages of Nunavik, along with Churchill, which the railway reaches, and islands on both coasts reached by passenger ferry or boat, the Toronto Islands among them.

The map is only as good as OpenStreetMap. A winter road is mapped within 2 km of Fort Severn, Peawanuck, Shamattawa and Cat Lake, but in OpenStreetMap it does not join them to the network, so they draw as no road out; whether the gap is in the map or on the ground, this page cannot tell. Where a winter road stops within 1 km of a road without touching it, 39 times in all, the map joins the two. Click a road to open it in OpenStreetMap, or a dot for its numbers.

How it's made

One basemap and one layer. This is the whole map, minus the legend.

import { createMap } from '@unmap/sdk'

// Winter and ice roads: the ways OpenStreetMap says are only there in winter.
//   osmium tags-filter canada-latest.osm.pbf w/winter_road=yes w/ice_road=yes w/seasonal=winter -o winter.osm.pbf
//   osmium export winter.osm.pbf -f geojson -o winter.geojson
const roads = await fetch('/winter.geojson').then((r) => r.json())

// Communities off the year-round network, from a summer graph (roads and every car ferry) and a
// winter graph (roads, winter roads, and the ferries that run in winter): class is 'winter' when
// only the winter graph reaches them, 'summer' when only the summer one does, 'none' when neither.
const towns = await fetch('/communities.geojson').then((r) => r.json())

const map = createMap({ key: 'um_pk_live_...', container: '#map', style: 'muted', mode: 'dark' })
map.on('load', () => {
  const labels = map.getStyle().layers.find((l) => l.type === 'symbol').id
  map.addSource('roads', { type: 'geojson', data: roads })
  map.addLayer({ id: 'roads', type: 'line', source: 'roads',
    paint: { 'line-color': ['case', ['==', ['get', 'ice_road'], 'yes'], '#C6F1FF', '#4FB3E8'], 'line-width': 1.2 } },
    labels) // under the place names
  map.addSource('towns', { type: 'geojson', data: towns })
  map.addLayer({ id: 'towns', type: 'circle', source: 'towns',
    paint: {
      'circle-radius': ['max', 3, ['*', 0.11, ['sqrt', ['get', 'population']]]],
      'circle-color': ['match', ['get', 'class'], 'winter', '#FF3E9A', 'summer', '#F2B84B', '#DCE6E4'],
    } }) // on top: they are the story
})

The roads are every way a car can drive in the Canada extract unmap's routing graph is built from, dated 17 September 2026, and every ferry route, cut out with osmium. A way is a winter road when it is tagged winter_road=yes or seasonal=winter, and an ice road when it is tagged ice_road=yes; golf cart paths are left out. Two networks are built from them, one per season. Summer has every road and every ferry that carries cars. Winter adds the winter and ice roads and drops the ferries tagged seasonal or with opening hours in months, except those under 2 km, which are taken as river crossings made on the ice: OpenStreetMap draws the ice crossing at some rivers and not at others. A winter road that ends within 1 km of a road it does not touch is joined to it, because mappers often stop one at a shore or at the edge of a village. The year-round network is the largest piece of what runs in both seasons. People are the 2021 Census, block by block: a block is on a network when any of the 256 road nodes nearest a point on it, within 5 km, is. 21,470 people live in blocks with no mapped road that close and are left off, unless the rest of their reserve shares one class. A community is the blocks of one census subdivision and class within 15 km of one another, named for an official populated place within 8 km of its most populous block from Day 1's Canadian Geographical Names Database: one its subdivision's name begins with, or else the nearest. The distance to a road open all year is measured along the winter network. The networks stop at the border, so a place reached through the United States, like Akwesasne's Quebec side, draws as no road out. OpenStreetMap is not a register of winter roads: they are rebuilt every year, their routes move, and a mapped one may not open this winter or an open one may not be mapped. The census counts people where they usually live, and it has no count for the reserves it could not enumerate. The roads are simplified to about 100 m for drawing. The script is scripts/build-challenge-winter.mjs in the unmap repository.

Data

  • Roads, ferries, winter and ice roads: © OpenStreetMap contributors (ODbL), Canada extract of 17 September 2026.
  • Population: Statistics Canada, 2021 Census, Geographic Attribute File (92-151-X) and dissemination block cartographic boundary file. Used under the Statistics Canada Open Licence.
  • Place names: Canadian Geographical Names Database, Natural Resources Canada, as on Day 1. Contains information licensed under the Open Government Licence - Canada.
  • Basemap: unmap, © OpenStreetMap contributors.

Share this map

Post it, or make your own and tag it #30DayMapChallenge.