Skip to content

Routing

github-actions[bot] edited this page Nov 25, 2026 · 3 revisions

Routing

The Routing tool (top bar) shows where traffic in a lane can go. Editing is off while it is on; Esc leaves.

Using it

  • Hover a lane to see every route a vehicle in it can take, up to 450 m and four junctions on, in numbered colours, with the lanes traffic comes from and the turns it may not take (red, with the reason). Click to pin; click the map to let go.
  • A route's line runs along the lanes and curves through each junction from the lane driven in by to the lane driven out by, as the turn is driven: across a dual carriageway's middle link, round a U-turn, and into a road whose lanes begin behind the turning lane (a slip lane joining beyond the node) further on.
  • Hover a footway or pavement to see the streets reachable on foot and the crossings used.
  • The roads take the colour of their access for the vehicle picked: see Access.

Vehicles

Car, Motorcycle, Van, Lorry, Bus, Taxi, Bicycle: each keeps to the lanes, access tags, height and weight limits (maxheight, maxweight) and roads open to it, its access keys read down the wiki's hierarchy (hgv, then motor_vehicle, vehicle, access; goods is vans only, see Access).

How routes are found

  • Routes follow turn arrows (turn:lanes), lane connections (type=connectivity) and turn restrictions (type=restriction, via nodes and via ways, lifted by except=*), and keep to their lane through short links.
  • A route that turned into the link between the halves of a dual carriageway carries on across it: the link's arrows are for the traffic driving straight into it (a link without arrows may still be turned in, as a gap for U-turns).
  • Where a road divides into one-way roads (a fork, see Junctions), each lane leads into its own branch, by the branches' own arrows or else in order.
  • An arrow leads into the road nearest its angle. A left or right arrow with none within 70° takes the road leaving furthest to that side (a slip road parting at a shallow angle); an ordinary turn wins over a hairpin sharper than 120°.
  • On a stretch too short to change lanes, a route enters a lane that leads on, not one whose only way on is banned (a right turn lane whose turn is a banned U-turn).

Roundabouts

An entry's arrows name exits in order round the ring, not by angle:

Entry lane Leaves by
left (nearside) The first exit
through The exits between, shared in order across the through lanes, nearside lane first
right (offside), or the offside lane when none is The last exit before going back
reverse Back round to the road it came from (no other lane may)

Arrows on the ring's own ways (through|right|right, or left|through) say which lanes leave at its next exit and which go on round, matched in order the same way.

On the OpenStreetMap wiki: Relation:restriction, Relation:connectivity, Key:turn, Key:access.

Lane Studio

Clone this wiki locally