Key:lanes

From OpenStreetMap Wiki
(Redirected from Key:lanes:forward)
Jump to navigation Jump to search
Public-images-osm logo.svg lanes
A55 trunk road looking east - geograph.org.uk - 932668.jpg
Description
Total number of traffic lanes available for motorised traffic. Show/edit corresponding data item.
Group: highways
Used on these elements
should not be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)should not be used on relations (except multipolygon relations)
Useful combination
See also
Status: de facto

Use the lanes=* key to tag how many traffic lanes there are on a highway (described on this page) or other features like a piste or running track (described on the respective pages). To tag individual lanes of a road, see the article about the lanes suffix. Count excludes cycle lanes and motorcycle lanes that do not permit a motor vehicle. For tagging cycle lanes see cycleway=*. For tagging motorcycle lanes see motorcycle=* or lanes.

Note that it is valid to tag lanes count also in case where lanes are not marked with paint on the surface[1]

Description

The lanes=* key should be used to specify the total number of  lanes of a road.

The following lanes should be included:

  • General purpose [W] traffic lanes suitable for vehicles wider than a motorbike.
  • [W] Bus lanes, that are reserved for public service vehicles (PSV), for example buses and taxis. Additionally to the total number of lanes, consider to tag the number of lanes reserved for PSV with lanes:psv=*. Similarly, one may do similar with lanes:bus=*, lanes:taxi=* etc. See bus lanes for more details
  • [W] High-occupancy vehicle lanes (sometimes also called carpool lanes, commuter lanes, express lanes, transit lanes). The number of such lanes could be tagged using lanes:hov=*. See hov for more information
  • [W] Dynamic Shoulders (called  spitsstroken(nl) in the Netherlands and Belgium, and  temporäre Standstreifen(de) in Austria, Germany and Switzerland and sometimes smart lanes in the United States) i.e. lanes that are available to traffic at certain restricted times, for example during the rush hour, indicated by variable message signs. These repurpose the roadway's shoulder=* as an additional lane. [1]. See variable-access lanes on how to tag them in OSM.
  • Longer slip-roads, for example on motorways and other fast major roads. Turning lanes for minor roads are sometimes not included, but it is preferable to include them in a lane count. See turn=* for further details about tagging turning lanes.

And the following lanes should be excluded:

If the number of lanes changes, it is necessary to split the OSM way. This should be done as soon as:

  • a new lane has started (regardless of width), or
  • a lane has finished disappearing (usually a merge with another lane)

width:lanes:start/end can be used to mark that a lane gradually gets narrower.

Remark for data consumers
Many ways have not yet been tagged with the total number of lanes at all points, but only with the number of through lanes of a longer section. Therefore, data consumers can mostly treat the lanes tag as a minimum rather than an exact number.

If there are no marked lanes, the keys width=* or width:carriageway=* can be used.

Extended tagging

Lanes in different directions

If the lanes on a two-way road are not distributed evenly between the driving directions, the keys lanes:forward=* and lanes:backward=* can be used in addition to the lanes tag. The key lanes:forward=* hereby refers to lanes which direction is equal to the direction of the OSM way, and lanes:backward=* to the opposite direction.

The lanes=* tag is widely misused to mean the lanes in each direction rather than the total lanes. If the mapper chooses to describe the forward and backward lanes, this potential ambiguity is avoided.

lanes:both_ways=* can be used for lanes which allow traffic in both directions, e.g., passing and centre turn lanes.

See below for some examples of the usage of those keys.

Lanes reserved for specific vehicles

The number of lanes which are reserved for specific types of vehicles can be tagged by using the key lanes and adding a suffix that indicates the transport mode from the key access=*, e.g. lanes:bus=1 for a single lane reserved for buses. If it is necessary to specify the direction of those lanes, add the suffix *:forward=* or *:backward=* like in the previous section, i.e. lanes:taxi:forward=1 refers to single lane reserved for taxis in the same direction as the OSM way.

NOTE! The lanes:*=* key type can only be used to indicate the number of lanes that are reserved for a specific transport type on a way. It does not and cannot specify which lanes a transport type is restricted to.

If, for example, on a three lane motorway, heavy-good vehicles are restricted to the rightmost lane only, lanes:hgv=1 will not express that meaning! It simply means that hgv vehicles have one lane of the motorway reserved for them, but it doesn't specify which one.

Restrictions for vehicles can be tagged using the *:lanes=* suffix and tagging scheme, e.g. hgv:lanes=no|no|yes would restrict heavy-good vehicles to the rightmost lane.

Restrictions that only apply at certain times and days

For lanes that are restricted for parts of the day only, use the additional lanes conditions tag to indicate when the conditions apply. For example: lanes:bus:conditional=* or lanes:psv:conditional=*. See Conditional restrictions for more details.

No lane markings

Many narrow, cobblestone and rural roads do not have lane markings. Also, in some places, even broader roads that function as 4-laned highways may not have lane markings. To signify that a road has no lane markings, it is recommended to use an explicit tag like lane_markings=no or similar instead of an odd value for the lanes=* key like 0, 1.5 or none because the latter is ambiguous and may not be processed correctly by data consumers.[2]

For narrow roads (without marked lanes) in particular, it is very useful to tag the width=*/width:carriageway=* of the road, see below.

Narrow roads

There exist roads with no marked lanes, which are two-way roads but without marked lanes and so narrow, that vehicles must slow down to pass each other. This can be tagged with narrow=yes. It is strongly recommended in such a case to tag the width of the carriageway using width=* or better width:carriageway=* (Note: do not mistake this with maxwidth=*). If the width varies a lot, the minimum width of the carriageway should be specified. If it is not possible or reasonable to determine the exact width, use an estimation and tag additionally source:width=estimated, e.g. as follows:

 width=4
 source:width=estimated

Sometimes on narrow roads  passing places exists, which allow vehicles to pass each other (see examples). They can be tagged using highway=passing_place. The lanes-count is not affected by them.

Additional sources

According to the 20. UN Convention on road signs and signals. Vienna, 8 November 1968, lanes are defined as

(e) Lane means any one of the longitudinal strips into which the carriageway is divisible, whether or not defined by longitudinal road markings, which is wide enough for one moving line of motor vehicles other than motor cycles;

Examples

Lanes available for motorised traffic

Photo Tags Remarks
Bridge restrictions.jpg lanes=1 A bridge with sign only allowing 1 vehicle at a time.
Kingsteignton Street - geograph.org.uk - 89779.jpg lanes=2 A two-way residential road with two lanes. Consider additional tagging with parking:both=lane + parking:both:orientation=parallel and other street parking tags.
A55 trunk road looking east - geograph.org.uk - 932668.jpg lanes=2 on the first line
lanes=2 on the second line
Each direction individually
A dual 2-lane highway, represented by two ways as there is a physical divider between them (each with oneway=yes).
Reelsen1.JPG lanes=2
lane_markings=no
Two-way road without marked lanes, but it has 1 lane in each direction. White markings on sides are delineators indicating boundary of the road. These lines do not, however, mark the individual lanes, only the edge of the road, so lane_markings=no should be used.
Narrow road.jpg lane_markings=no
and optionally:

width=4
source:width=estimated

A narrow two-way road without marked lanes and with an estimated width of four metres. It is not qualifying for tagging as road with two lanes as there is not enough space for vehicles to comfortably pass each other.
Oneway-road.jpg lanes=1
oneway=yes
A one-way road which has only 1 lane. The parking bays do not count as a lane.
Oneway-contraflow.jpg lanes=1
oneway=yes
oneway:bicycle=no
cycleway:right=lane
cycleway:right:oneway=-1
A road which is one-way for cars, but has a Contraflow Lane for bikes. lanes=1 because the cycleway does not count for the lanes tag. Tagging for cycleway is asuming OSM way is in direction of motor vehicle traffic, so towards camera.
One lane bridge over West River on Rice Farm Road.JPG lanes=1
oneway=alternating
Some bridges on two-way roads only have one lane. You must give way if there are vehicles coming in the opposite direction. Requires either oneway=alternating/oneway=reversible
Scotland Kinlochewe SingleTrackRoad.jpg highway=passing_place (on the node) A passing place on a road.
TràficBarça(negre&blanc)dalt.jpg lanes=8 A road with four lanes in either direction plus a flush median (the crosshatched area in the middle). If lanes:forward=* and lanes:backward=* are omitted, the eight lanes are assumed to be distributed evenly between the forward and backward directions. In New Zealand, a flush median is considered a travel lane (see below).
2006 02 24 - MD115 - WB 07.JPG lanes=3
lanes:forward=1
lanes:backward=1
lanes:both_ways=1
turn:lanes:both_ways=left
A road with one lane in either direction plus a center turn lane. The center turn lane can be used by traffic going in either direction at any time to turn at any point along the lane. This configuration is common in some countries but rare or nonexistent in others.
Simpleuklanes middle.jpg lanes=5
lanes:forward=3
lanes:backward=2
Assuming the OSM way runs from left to right
A road with five lanes, whereas three lanes run in forward direction, i.e. in the same direction as the OSM way. The turning lanes should be tagged using turn=* on the way.
Zeitabhängige Busspur.jpg lanes=3
lanes:bus:conditional=1 @ (Mo-Fr 07:00-19:00)
A road with three lanes where the rightmost lane is dedicated to buses at the given time. The merging of the leftmost lane should be tagged with the key turn=*. See the article Conditional restrictions for an detailed explanation of the :conditional suffix and bus lanes for a detailed overview on how to tag bus lanes.

Lanes available for non motorised traffic

cycleway with two marked lanes highway=cycleway
lanes=2
A cycleway with two marked lanes. (Attention, as described above and seen in the example: Lanes#Crossing_with_a_designated_lane_for_bicycles bicycle lanes only counts for tag lanes=* if the cycleway has a physical separation and it is therefore mapped as a separated OSM way)
Skyttis athletics tracks.jpg leisure=track
lanes=8
A track with 8 marked lanes.
Langlauf Loipe.jpg piste:type=nordic
piste:lanes=2
A piste route with two classic xc lanes. Avoid just lanes=* since the piste often shares way with a highway=* for which the number of lanes might not be applicable.
Pool i.jpg leisure=swimming_pool
sport=swimming
swimming_lanes=6
A swimming pool with six lanes (5 ropes). Avoid just lanes=* because that is for highway=*-s.

For further examples see: User:Martinq/Lane_examples

The following example shows a motorway with two links.

TurnExample6.svg lanes=3
TurnExample5.svg lanes=4
turn:lanes=none|none|none|merge_to_left
TurnExample4.svg lanes=3 (lanes=1 on ramp roads)
TurnExample3.svg lanes=4
turn:lanes=none|through|through|slight_right
TurnExample2.svg lanes=3
turn:lanes=none|none|through;slight_right
destination:lanes=A|A|B
TurnExample1.svg
 
A3-Ring-StevensWoluwe.jpg Klettenberg, Köln, Germany - panoramio.jpg lanes=4
turn:lanes=through|through|through|slight_right


Assumptions

If for a two-way road only the total lane count is tagged and this number is even, it is assumed that the lanes are allocated evenly to both driving directions (e.g. lanes=6 assumes the road has 3 lanes for each direction).

Although it is advisable to always add the lanes tag to roads with lanes, as usual data will be sometimes missing. It is usually reasonable for a data consumer to try guessing. Data consumer may make any guesses, but the following assumptions often work well:

Tag(s) Assumed lane-count
two way
Assumed lane-count
one way
Remark
highway=residential
highway=tertiary
highway=secondary
highway=primary
2 1 If the actual number of lanes is equal to the given assumption, the lane count is usually not tagged.
highway=unclassified
highway=service
highway=track
highway=path
1 1 If the actual number of lanes is equal to the given assumption, the lane count is usually not tagged.
highway=motorway
highway=trunk
These should usually be mapped as two separate ways

See the article Dual carriageway for a detailed explanation.

2 or more The actual number of lanes should always be tagged.

Displaying the number of lanes

Related tags

See also

External links

Notes

  1. see discussion from June 2019 on tagging mailing list ( https://lists.openstreetmap.org/pipermail/tagging/2019-June/046002.html ) and discussion on German forum from September 2019 ( https://forum.openstreetmap.org/viewtopic.php?id=67330 ), additionally several remarks on the discussion page. The change to explicitly mentioning "marked" was made 2014 as result of another discussion in the German forum but not from anywhere else.
  2. https://lists.openstreetmap.org/pipermail/tagging/2019-June/046002.html