Lanes: Difference between revisions

Jump to navigation Jump to search
3 bytes added ,  12 years ago
no edit summary
m (→‎Examples: Typo)
No edit summary
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.
 
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.
 
== Examples ==
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 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 ===
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.
 
2,850

edits

Navigation menu