Template:Ka:Map Features:restrictions

From OpenStreetMap Wiki
Jump to: navigation, search

Template for the Restrictions table in the Map Features page. Use the default English text or use the template arguments for your translations

==Usage==
All parameters are optional. By default, text is in English. 
English writers shall write their comments in the template itself (avoiding double edition). 
Other languages are translated in template arguments, not in the template itself.
== section header ==
|name=        (section header line)
|description= (displayed before or after the table; optional)

== One key/value row ==
|access:key=   |oneway:value=   |oneway:desc=   |oneway:render=   oneway:photo=

Restrictions

Key Value Element Comment Rendering Photo
access yes / designated / official / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way General access permission.
  • permissive means there is no legally-enshrined right of access, but the landowner has allowed it at his/her discretion
  • private means access is restricted to the landowner
  • destination is used for ways in designated local traffic areas, where traffic should only enter if its destination is within the area
  • official is used for ways dedicated to a certain mode of travel by law. Usually indicated by a traffic sign.


Access.png
vehicle yes / designated / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way Access permission for all vehicles. For values see above
bicycle yes / designated / official / private / permissive / dismount / destination / delivery / agricultural / forestry / unknown / no Way Access permission for bicycles. For values see above. Usage of bicycle=dismount and bicycle=no will vary in different countries. If according to local traffic rules a bicycle is no longer seen as a bicycle when there's no one driving it, then there's no need for using bicycle=dismount. If the local legislation still sees an undriven bicycle as a bicycle then you may need to use both bicycle=dismount and bicycle=no.
Bicycle.png
foot yes / designated / official / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way Access permission for pedestrians. For values see above
Foot.png
goods yes / designated / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way Access permission for light commercial vehicles (LCV) or goods vehicles of category N1 with a maximum allowed mass of up to 3.5 tonnes. In the USA, combined weight 26,000 lbs or less. For values see above.
Hgv.png
hgv yes / designated / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way Access permission for Heavy Goods Vehicles (HGV) (UK), e.g. for goods vehicles of category N2 and N3 (trucks, lorries) with a maximum allowed mass over 3.5 tonnes. In the USA, combined weight 26,001 lbs or greater. For values see above
Hgv.png
hazmat yes / designated / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way Access permission for vehicles carrying hazardous materials. For values see above
agricultural yes / designated / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way Access permission for agricultural vehicles, e.g. tractors. For values see above
Agricultural.png
horse yes / designated / official / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way Access permission for horse riders. For values see above
Horse.png
motorcycle yes / designated / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way Access permission for motorcycles. For values see above
Motorcycle.png
motorcar yes / designated / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way Access permission for (motor) cars. For values see above
Car.png
motor_vehicle yes / designated / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way Access permission for motor cars and motorcycles. For values see above
Motorcycle.png

Car.png
psv yes / designated / private / permissive / destination / delivery / agricultural / forestry /unknown / no Way Access permission for Public Service Vehicles (UK), e.g. buses and coaches. See above
Bus.png
motorboat yes / designated / private / permissive / destination / delivery / agricultural / forestry /unknown / no Way
boat yes / designated / private / permissive / destination / delivery / agricultural / forestry / unknown / no Way
oneway yes / no / -1 Way
oneway=yes for traffic direction same as the sequence of nodes of the way (maplint will highlight "true" and "1", so they can be updated to "yes").
oneway=no for bidirectional traffic (maplint will highlight "false" and "0", so they can be updated to "no").
oneway=-1 for traffic direction opposite to the sequence of nodes of the way (if the way cannot be reversed).

Some road types are assumed to be one-way (e.g. highway=motorway), others are assumed to be two-way (most others). The direction of the sequence of nodes of a way is indicated by sequential order of nodes within the way.
Hint: When using the editor JOSM, enable 'arrows'!).

The maplint highlighting will help with updating of the tags which will allow simplification of style sheets to prevent unintentional rendering errors creeping in. See Talk:Key:oneway.

OneWaySign.png
noexit yes Way A dead end road/cul de sac with only one access road
Noexit.png
date_on Date Way Date restriction starts
date_off Date Way Date restriction stops
day_on Day of Week Way Day restriction starts
Hour off.png
day_off Day of Week Way Day restriction stops
Hour off.png
hour_on Time Way Time restriction starts
Hour off.png
hour_off Time Way Time restriction stops
Hour off.png
maxweight Number Way Weight limit - units other than tonnes should be explicit
Maxweight.png
maxheight Height Way height limit - units other than metres should be explicit
Maxheight.png
Maxheight photo.JPG
maxwidth Width Way width limit - units other than metres should be explicit
Maxwidth.png
maxlength Length Way length limit - units other than metres should be explicit
Maxlength.png
maxspeed Speed Way Maximum speed - units other than km/h should be explicit
Maxspeed.png
minspeed Speed Way Minimum speed - units other than km/h should be explicit
Minspeed.svg
traffic_sign city_limit Node Start/end sign of city limits, in most (all?) countries implies a specific "city maxspeed". Wilster.jpg
maxstay Number Way Maximum stay, in units given (hour/hours/day/days)
disused yes Node Way Area For features that are useful for navigation, yet are unused or abandoned.
toll yes Node Toll or fee must be paid to access way, see also barrier=toll_booth
charge Num Node Amount of toll or fee

This table is a wiki template with a default description in English. Editable here.