Skip to content

Spatial Access Measures

Statistics Canada’s Spatial Access Measures (SAM) dataset gives access measures for each travel mode on 2021 census geography. The API serves them as Statistics Canada publishes them.

Property Value
Reference year 2024
Geography Dissemination block
Geography vintage 2021 Census
Identifier 11-digit DBUID
Version 2024-202511-v2

This version is Statistics Canada’s 2024 release as corrected in November 2025, with the full confident-cyclist data.

Each request takes one mode:

  • walking
  • cycling_confident
  • cycling_cautious
  • cycling_all_ages_and_abilities
  • public_transit_peak
  • public_transit_offpeak
Field Meaning Unit
acs_idx_caf Cultural and arts facilities Normalized index, 0–1
acs_idx_ccf Child care facilities Normalized index, 0–1
acs_idx_ef Primary and secondary education Normalized index, 0–1
acs_idx_emp Employment Normalized index, 0–1
acs_idx_hf Health care facilities Normalized index, 0–1
acs_idx_psef Postsecondary education Normalized index, 0–1
acs_idx_srf Sports and recreation facilities Normalized index, 0–1
acs_lvl_gs-1 Closest grocery store Minutes
acs_lvl_gs-3 Third closest grocery store Minutes
acs_lvl_gs-5 Fifth closest grocery store Minutes

Members can show SAM on the map as the StatCan SAM view. Its destinations, modes and colours are on Spatial Access Measures in the guide.

Ask /v1/reference/sam for an 11-digit DBUID, or for a point as lat and lon. mode is optional and defaults to walking:

Terminal window
curl "https://aportee.ca/v1/reference/sam?id=35250772001&mode=walking"
curl "https://aportee.ca/v1/reference/sam?lat=43.25085&lon=-79.81809&mode=public_transit_peak"

The response includes one mode’s fields and metadata such as the source year, geography, version, source-file SHA-256 and lookup method. The common response shape and errors are in the data overview.

The field definitions follow SAM-en-record-layout.csv in the official download. The licence and the limits of the data are on Spatial Access Measures in the guide.