586
edits
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 | -->
== Description ==
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 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>
|Useful if access depends on the lane: For example lanes can be restricted to buses (<code>
|-
|{{Key|maxspeed}}
|-
|{{Key|width}}, {{Key|maxwidth}}
| <code>
|Where
|-
|{{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.
=== Minimum speed ===
|
edits