Skip to content

Exporting to GIS

You can download a scenario’s traffic as a GeoPackage, the standard GIS file format, to work with in QGIS, ArcGIS or any other GIS. The file holds the modelled traffic volume on every road segment the scenario uses — the same numbers you see on the map — and it opens in QGIS already styled.

  1. Open the scenario.
  2. Click the download button on the right of the map, below the zoom and full-screen buttons.
  3. Choose Export for GIS.

The export always covers the whole scenario, not only the part of the map you are looking at, and includes every dataset linked to the scenario.

If some of the scenario’s traffic is still being calculated, you get a message saying how far along it is instead of a file. Wait until the map has finished updating and download again — an export only ever contains complete results.

There are two ways, and both show the traffic styled the same way:

  • Open the project. In the QGIS Browser panel, find the file and expand it: it contains a QGIS project with the scenario’s name. Double-click it to open the traffic over an OpenStreetMap background.
  • Add the layer. Drag the file onto the QGIS map and choose the links layer. Its style is stored in the file, so it is applied straight away.

The project finds its data by the file’s name. If you rename the file, the project opens with the traffic layer missing — use the second option, or point QGIS at the renamed file when it asks.

Traffic volumes from an exported scenario in QGIS. Each direction is drawn on its own side of the road, wider for more traffic.

Traffic volumes from an exported scenario in QGIS. Each direction is drawn on its own side of the road, wider for more traffic.

Each direction of travel is drawn beside the road on the side it drives on, and the line gets wider as the traffic increases.

links — one line per stretch of road with traffic on it.

ColumnMeaning
car_fwd, car_bwd, carCars travelling in the direction the line is drawn, against it, and both together. There are columns like these for every vehicle type in the scenario, such as bicycle.
total_fwd, total_bwd, totalAll vehicle types together.
name, ref, highway, maxspeed, lanes, onewayThe road’s OpenStreetMap tags.
osm_way_idThe OpenStreetMap way the road belongs to.
from_fraction, to_fractionWhich part of the road segment the line covers. A segment is split where traffic starts or ends along it — near an origin or destination — so the traffic on each part is exact.
length_mLength of the line in metres.
link_idIdentifies the line; use it to join with link_volumes.

link_volumes — the same traffic broken down per dataset and per routing profile, one row per line, dataset, profile and direction. Join it to links on link_id to see which dataset the traffic on a road comes from.

datasets — the datasets included in the export.

Volumes are rounded to one decimal, as on the map.