Lanes: Difference between revisions

Jump to navigation Jump to search
2,423 bytes added ,  12 years ago
→‎Examples: Table for useful combinations added, maxspeed illustration, addtional minspeed example
No edit summary
(→‎Examples: Table for useful combinations added, maxspeed illustration, addtional minspeed example)
== Examples ==
 
In principle every tag used to describe properties of a road can be extended by the <code>:lanes</code> suffix when its value depends on the lane. Following list gives an overview of potentially useful combinations and a short description when they might be needed:
=== Different maxspeed per lane ===
A simple example with <code>maxspeed</code> on a one-way street:
 
{| class="wikitable" border="1" cellspacing="0" cellpadding="4"
lanes=3
|-
oneway=yes
!Road property
maxspeed:lanes=80|50|50
!Lane specific key
!Description
|-
|{{Key|access}}
|<code>hgv:lanes</code>, <code>bus:lanes</code>...
|Useful if access depends on the lane: For example some lanes can be restricted to buses (<code>bus:lanes</code>) or it possible describe that heavy good vehicles are not allowed on some lanes (<code>hgv:lanes</code>).
|-
|{{Key|maxspeed}}
|<code>maxspeed:lanes</code>
|Can be used for roads where the maximum allowed speed depends on the lane. ''See example below''.
|-
|{{Key|turn}}
|<code>turn:lanes</code>
|Allows description of designated turn lanes or which lane will merge in the direction of travel. ''See detailed examples below.''
|-
|{{Key|minspeed}}
|<code>minspeed:lanes</code>
|Useful for roads where some lanes require a minimum speed or where lanes have different minimum speed.
|-
|{{Key|surface}}
|<code>surface:lanes</code>
|Lane dependent surfaces, for example if there is cobblestone on the outer lane
|-
|{{Key|destination}}
|<code>destination:surface</code>
|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}}
|<code>width:lanes</code>, <code>maxwidth:lanes</code>
|Where deemed necessary, the width of individual lanes can be tagged. According to the existing tagging practice <code>maxwidth:lanes</code> would describe a legal width restriction, <code>width:lanes</code> the actual width of a lane.
|}
 
=== Different maxspeed per lane ===
This would be a road with three lanes and with a <code>maxspeed</code> of 80 on the leftmost lane and 50 on all other lanes.
A simple lane dependent <code>maxspeed</code> example with road sign (one-way street and a general speed limit of 100 assumed):
 
[[Image:CH-Hinweissignal-Anzeige von Fahrstreifen mit Beschränkungen.svg|left|100px]]
lanes=3
oneway=yes
maxspeed:lanes=80100|50100|5080
<br style="clear: both" />
 
=== Two driving directions ===
 
Please note that the 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 the first lane-value refers to the leftmost lane in this direction, whereas <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 ===
 
Road with a sign-posted minimum speed, which applies to one lane only. Can be tagged as:
 
[[Image:Zeichen 526-31.svg|left|80px]]
lanes=3
lanes:forward=2
minspeed:lanes:forward=50|
<br style="clear: both" />
Please note the final <code>|</code> character in the value of <code>minspeed:lanes:forward</code>: Because the right-most lane has '''no''' minimum speed, '''no value''' should be tagged after the lane separator.
 
=== Motorway ===
513

edits

Navigation menu