Lanes: Difference between revisions

Jump to navigation Jump to search
165 bytes removed ,  9 years ago
no edit summary
No edit summary
No edit summary
|tags = {{Key|turn:lanes}}, {{Key|destination:lanes}}, {{Key|access:lanes}}, ...
}}
<!-- HINT: The template <nowiki>{{!}}</nowiki> gives back a vertical bar | -->
This article describes how to tag individual lanes of a road. To tag only the ''number'' of traffic lanes, see the key {{Key|lanes}}.
 
== Description ==
 
To tag individual lanes of a road together with their distinctive properties theThe subkey '''<code>:lanes</code>''' can be used to tag individual lanes of a road.
 
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 <code>:lanes</code>. This suffix is applicable to any existing <code><key>=<value></code> tag pair. In such case, the value of that key then contains the values for each lane separated by a | (vertical bar) in left-to-right order as viewed in the respective driving direction of those lanes. If the value of a specific lane is left blank, the (possibly assumed/implicit) value of the main key without <code>:lanes</code>-suffix applies (the so called ''default value'').
 
Lane-specific information can be expressed on a way by suffixing the key with <code>:lanes</code>. This suffix is applicable to any existing <code><key>=<value></code> tag pair. In such case, theThe value of that keytag then contains the values for each lane separated by a | (vertical bar) in left-to-right order as viewed in the respective driving direction of those lanes. If the value of a specific lane is left blank, the (possibly assumed/implicit) value of the main key without <code>:lanes</code>-suffix applies (the so called ''default value'').
 
In the common case of two driving directions either <code>:forward</code> or <code>:backward</code> is added to the end of the key; i.e., <code><key>:lanes:forward</code> describes the properties of the lanes in the same direction as the osm-way, whereas <code><key>:lanes:backward</code> described the properties of the lanes in the opposite direction of the osm-way.
|-
|{{Key|access}}
|<code>hgv:lanes</code>, <code>buspsv:lanes</code>...
|Useful if access depends on the lane: For example lanes can be restricted to buses (<code>buspsv:lanes</code>) or forbidden for heavy good vehicles (<code>hgv:lanes</code>).
|-
|{{Key|maxspeed}}
|-
|{{Key|width}}, {{Key|maxwidth}}
| <code>widthmaxwidth:lanes</code>, <code>maxwidthwidth:lanes</code>
|Where deemed necessary, the width of individual lanes can be tagged. AccordingAs to the existing tagging practiceusual <code>maxwidth:lanes</code> would describe a legal width restriction, and <code>width:lanes</code> the actual width of a lane.
|-
|{{Key|hov}}
oneway=yes
maxspeed:lanes=100|100|80
<br />
| ''Using default values:''
lanes=3
This is a road with three lanes in each direction and heavy good vehicles are prohibited on the leftmost lane in each direction.
 
Please note that theThe lanes are viewed in the respective driving direction; i.e., <code>hgv:lanes:forward</code> describes the lanes in the same direction as the osm-way. and theThe first lane-value refers to the leftmost lane in this direction,. whereasWhereas <code>hgv:lanes:backward</code> describes the lanes in the opposite direction of the osm-way and the first lane-value refers to the leftmost lane in that direction.
 
=== Minimum speed ===
586

edits

Navigation menu