621
edits
(→Examples: In line with https://wiki.openstreetmap.org/wiki/Key:access#Land-based_transportation psv is for public service vehicles, which includes buses and taxis. The example here shouldn't confuse matters by saying psv;lanes means a bus restriction.) |
ManuelB701 (talk | contribs) m (Removed <code> in favour of Key templates.) |
||
[https://taginfo.openstreetmap.org/search?q=%3Alanes taginfo *:lanes]
}}<!-- HINT: The template <nowiki>{{!}}</nowiki> gives back a vertical bar | -->
The subkey '''
The similar main key {{Key|lanes}} counts the number of traffic lanes.
Lane-specific information can be expressed on a way by suffixing the key with
In the common case of two driving directions either
Please be aware that this extension covers all kinds of lanes for <u>all kind of vehicles</u> and is <u>not</u> restricted to motorized traffic.
== Examples ==
In principle every tag used to describe properties of a road can be extended by the
{| class="wikitable" border="1" cellspacing="0" cellpadding="4"
|-
|{{Key|access}}
|
|Useful if access depends on the lane: For example lanes can be restricted to public service vehicles (<code>psv:lanes</code>) or forbidden for heavy good vehicles (<code>hgv:lanes</code>).
|-
|{{Key|maxspeed}}
|
|Can be used for roads where the maximum allowed speed depends on the lane. ''See [[#Different maxspeed per lane (with/without default values)|example]] below''.
|-
|{{Key|turn}}
|
|Allows description of designated turn lanes or which lanes will merge in the direction of travel. ''See detailed examples below.''
|-
|{{Key|change}}
|
|Allows description of possible lane changes using the lane marking on the road.
|-
|{{Key|minspeed}}
|
|Useful for roads where some lanes require a minimum speed or where lanes have different minimum speed.
|-
|{{Key|surface}}
|
|Lane dependent surfaces, for example if there is cobblestone on the outer lane
|-
|{{Key|destination}}
|
|While the road specific key describes the direction of the highway by using the name of the city the highway is heading to, the <code>destination:lanes</code> allows tagging of cities when sign-posted for individual lanes. See {{Key|destination}} for examples.
|-
|{{Key|width}}, {{Key|maxwidth}}
|
|Where necessary, the width of lanes can be tagged. As usual
|-
|{{Key|maxheight}}
|
|A height restriction may vary from one lane to another if the road passes beneath an overpass that is inclined or arched.
|-
|{{Key|hov}}
|
|If one or more lanes of the road are restricted to high-occupancy vehicles (typically vehicles with 2+ occupants, although this varies by jurisdiction). Most useful if entrance/egress is permitted at any point along the route; if entering or exiting the HOV lane(s) is only permitted at certain locations, modeling the HOV lane(s) as separate ways is preferable.
|-
|{{Prefix|payment}}
|
|In cases where a road toll has a special lane which segregates drivers by a certain payment method, it's possible to use the [[lanes]] scheme.
For example: a toll booth area with several normal lanes (where a driver must pay with cash or a card) and a special lane, usually on the far right or far left, where it's not needed to stop nor pay on the spot. One of such cases happens in Portugal, with {{Wikipedia|en|Via_Verde|text=no}} <ref>https://www.viaverde.pt/</ref>. In such cases, the following tag can be used: {{Prefix|payment|subkey=via_verde:lanes||no{{!}}no{{!}}only}}. (this means the highway has three lanes and the far right lane only allows drivers that are going to pay with ''Via Verde''.
=== Two driving directions ===
In the common case of two driving directions either
lanes=6
This is a road with three lanes in each direction and heavy good vehicles are prohibited on the leftmost lane in each direction.
The lanes are viewed in the respective driving direction; i.e.,
=== Minimum speed ===
|}
Please note the final <code>|</code> character in the value of
=== Motorway with lanes and destinations ===
Pay attention to the value of the {{Key|lanes}} key. The number of lanes is referred to the lanes available to the traffic using the main {{Key|highway}} key, in this example and also by definition of {{Key|lanes}} key ''motorized traffic'', what excludes bicycle lanes. See [[Proposed_features/lanes_General_Extension#The_issues_with_the_lanes_tag|the proposal of the :lanes suffix]] for further explanation.
'''Note''': Access tags, like
'''Note''': adding also {{tag|cycleway|lane}} would be fine and useful in this case.
|
edits