Key:*:lanes

From OpenStreetMap Wiki
Jump to navigation Jump to search
Suffix *:lanes
Description
The *:lanes keys are used to specify properties for each lane of a way Show/edit corresponding data item.
Group: highways
Used on these elements
should not be used on nodesmay be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
See also
Status: approvedPage for proposal
taginfo: *:lanes

information sign

This page describes a key suffix rather than a simple key.

The *:lanes=* keys are used to specify properties for each lane of a way. Keep in mind that while lanes=* only includes dual track vehicles (e.g. motorcars but no bicycle lanes) and excludes single track vehicles, *:lanes=* includes lanes of all vehicles (including bicycle lanes).

Use with conditional and forward/backward key suffixes

  1. *:conditional=* always goes at the end. ie. use access:lanes:conditional=* not access:conditional:lanes=*
  2. When using an access:lanes:conditional=* based on the format <restriction-value> @ <condition> all the lane details go within the <restriction-value> ie. access:lanes:conditional=no | yes @ (Mo-Fr 06:00-10:00) means the left lane is not accessible Mo-Fr 6am to 10am and the right lane is accessible Mo-Fr 6am to 10am and not that the left lane is not accessible at all times and the right lane is inaccessible Mo-Fr 6am to 10am.
  3. *:forward=* and *:backward=* are needed for roads which aren't oneway=yes and have different lane restrictions in different directions. The forward and backward always go after lanes but before conditional. ie. use access:lanes:forward:conditional=* or access:lanes:backward:conditional=* in that order.

Keys used in combination

  • turn=* - The key turn can be used to specify the direction in which a way or a lane will lead
  • destination=* - Destination when following a linear feature
  • change=* - Define which lane changes are legally allowed and which one are forbidden
  • access=* - For describing the legal accessibility of a feature
    • bus=* - Legal access permissions for public transport buses, OR the type of public transport vehicle
    • hgv=* - Access permission for heavy goods vehicle; in most countries goods vehicles with a permissible maximum mass over 3.5 tonnes
    • psv=* - Access permission for Public Service Vehicles: buses and sometimes taxis or other vehicles
    • bicycle=* - Access permission for cyclists
    • hov=* - Indicates access for high occupancy vehicles
  • maxspeed=* - Specifies the maximum legal speed limit on a road, railway or waterway
  • width=* - The width of a feature
  • embedded_lanes=* - The existence of railway tracks on specific lanes

Examples

See also

  • Lanes - To tag individual lanes of a road together with their distinctive properties
  • lanes=* - Total number of traffic lanes available for motorised traffic

References