Mapbox Traffic v1
This vector tileset reference document includes information to help you style the data in the Mapbox Traffic v1 tileset.
The Mapbox Traffic v1 tileset provides constantly updating congestion information on top of Mapbox Streets road geometries.
You must display proper attribution in styles or software that use Mapbox Traffic vector tiles.
Mapbox Traffic can be used to display congestion for both directions on two way roads. When styling congestion, it's recommended that you add a positive
line-offset to the layer to visually separate the directions of travel.
In regions that use left-hand traffic, road directions are reversed to allow for consistent
line-offset styling of all roads.
Mapbox Traffic receives two different types of data updates:
- Traffic speeds and densities: used to derive congestion, updated approximately every 8 minutes
- Road geometries: based on OpenStreetMap, periodically updated
The main field used for styling traffic layers is
|High-speed, grade-separated highways|
|Interchanges / on & off ramps|
|Important roads that are not motorways.|
|Ramps and physically separated at-grade turning lanes connecting trunks to other roads.|
|A major highway linking large towns.|
|Ramps and physically separated at-grade turning lanes connecting primary roads to other roads.|
|A highway linking large towns.|
|A road linking small settlements, or the local centres of a large town or city.|
|Secondary and tertiary link roads|
|Standard unclassified, residential, road, and living_street road types|
|Access roads, alleys, agricultural tracks, and other services roads. Also includes parking lot aisles, public & private driveways.|
structure field describes the grade of a road. Bridges and tunnels are not distinct from surface roads until zoom level 13.
|Roads that lead over a bridge.|
|Roads that run underground.|
|no value||Surface roads and fords.|
congestion field is a measure of the relative slowdown a road segment is experiencing.
closed field marks roads that are closed.
|Roads that are closed.|
|no value||Roads that are open.|