Template:Map Features:restrictions

From OpenStreetMap Wiki
Jump to navigation Jump to search

Restrictions

This is used to define restrictions that apply to the associated element. See the page titled Restrictions for an introduction on its usage.

Key Value Element Comment Image
Vehicle types
access agricultural
delivery
designated
destination
forestry
no
official
permissive
private
yes
way General access permission.
  • agricultural – Only for agricultural traffic
  • delivery – Only when delivering to the element.
  • designated – A preferred or designated route for a specific vehicle type or types. Not compulsory but often marked by a traffic sign
  • destination – Used for ways in designated local traffic areas, where traffic should only enter if its destination is within the area
  • forestry – Only for forestry traffic
  • no – No access for the general public. Consider using another tag indicating who can use the element
  • official – The way is dedicated to a specific mode of travel by law. Usually marked by traffic signs and exclusive. In Germany use is also compulsory. clarification needed
  • permissive – Open to general traffic until such time as the owner revokes the permission which they are legally allowed to do at any time in the future.
  • private – Only with permission of the owner on an individual basis
  • yes – The public has an official, legal right of access, i.e. it's a right of way (default value)
agricultural yes / no way Access permission for agricultural vehicles, e.g. tractors.
atv For values see access above way Access restricted to wheeled vehicles 1.27m (50 inches) or less in width, for example ATV
bdouble For values see access above way area Access permission for Road Train B-double. A B-double (B-Train) consists of a prime mover towing a specialised trailer (known as a "lead" or "A"-trailer) that has a fifth-wheel mounted on the rear towing another semi-trailer, resulting in two articulation points.
bicycle For values see access above + dismount way Access permission for bicycles. 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.
boat For values see access above way area Access permission for small boats and pleasure crafts, including yachts
bus For values see access above way area Access permission for buses acting as public transport vehicles
carriage For values see access above way area Access permission for carriage drawn by horse(s) or other animals
cycle_rickshaw For values see access above way area Access permission for two-tracked human powered pedal vehicles
electric_bicycle For values see access above way node area Access permission for electric bicycles (mostly defined as having a maximum speed of 25 km/h)
emergency yes way Access permission for emergency motor vehicles; e.g., ambulance, fire truck, police car
foot For values see access above way Access permission for pedestrians.
forestry yes / no way Access permission for forestry vehicles, e.g. tractors.
golf_cart For values see access above way Access permission for golf carts and similar small, low-speed electric vehicles
goods For values see access above 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.
hand_cart For values see access above way area Access permission for human-pulled/pushed hand carts
hazmat For values see access above way Access permission for vehicles carrying hazardous materials.
hgv For values see access above 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.
horse For values see access above way Access permission for horse riders.
hov For values see access above way Access permission for high-occupancy vehicles
inline_skates yes / no way node area Access permission for Inline Skates
lhv For values see access above way Access permission for Longer Heavier Vehicle (LHV), e.g. for vehicles with 6 axles and can carry up to 44 metric tons
mofa For values see access above way Access permission for mofas
moped For values see access above way Access permission for mopeds
motorboat For values see access above way area Access permission boats and yachts using motor
motorcar For values see access above way Access permission for (motor) cars
motorcycle For values see access above way Access permission for motorcycles
motor_vehicle For values see access above way Access permission for any motorized vehicle
psv For values see access above way Access permission for Public Service Vehicles (UK), e.g. buses and coaches
roadtrain For values see access above way area Access permission for Road train, A road train consists of a relatively conventional tractor unit, but instead of pulling one trailer or semi-trailer, the road train pulls two or more of them.
ski For values see access above way area Access permission for skiers
speed_pedelec For values see access above way node area Access permission for electric bicycles (mostly defined as having a maximum speed of 45 km/h)
tank For values see access above way area Access permission for (military) tanks
taxi For values see access above way Access permission for taxis
trailer For values see access above way area Access permission for vehicles with trailers
tourist_bus For values see access above way area Access permission for buses that are not acting as public transport vehicles
vehicle For values see access above way Access permission for all vehicles
4wd_only yes way A road signed as only suitable for 4WD (offroad) vehicles
Other
alcohol yes / no node area Whether alcohol is allowed, or what type of alcohol may be served, at a location.
dog yes / no node way area relation Describes if dogs are allowed.
drinking_water:legal yes / no node area Indication whether a feature is officially considered as a drinking water.
female yes node area Female-only or gender segregated (with male=yes) feature
gender_segregated yes/no nodearea Used for indicating whether a feature has separated male and female facilities.
male yes node area Male-only or gender segregated (with female=yes) feature
max_age age node area The legal maximum age
maxaxleload Weight way The legal maximum axleload – units other than tonnes should be explicit
maxheight Height way Height limit – units other than metres should be explicit
maxlength Length way Length limit – units other than metres should be explicit
maxspeed Speed way Maximum speed – units other than km/h should be explicit
maxstay Duration way Maximum stay – units other than minutes should be explicit)
maxweight Weight way Weight limit – units other than tonnes should be explicit
maxwidth Width way Width limit – units other than metres should be explicit
min_age age node area The legal minimum age
minspeed Speed way Minimum speed – units other than km/h should be explicit
noexit yes node way A dead end road/cul de sac with only one access road
oneway yes / no / -1 way
oneway=yes for traffic direction same as the sequence of nodes of the way.
oneway=no for bidirectional traffic.
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).
openfire yes / no node area relation This property specifies whether open fires are allowed at a feature.
Relation:restriction relation Used for a set of tags and members to represent a turn restriction.
smoking yes / no node area relation For marking applicable smoking rules. However, if a law mandates a given smoking rule, that need not be mapped.
toll yes node Toll or fee must be paid to access way. See also barrier=toll_booth
traffic_sign city_limit node Start/end sign of city limits, in most countries implies a specific "city maxspeed".
unisex yes node area Unisex feature

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

[Edit] [Purge] Template documentation

Template for the information 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 and/or after the table; optional)

== One key/value row ==
||head:key=   |head:value=   |head:desc=   | head:render=   | head:photo=

Template for copy/paste...

<noinclude>{{languages}}</noinclude>
{{Map_Features:restrictions
|name=
|description=
|head:key =
|head:value =
|head:element =
|head:desc =
|head:render =
|head:photo =

|access:key =
|access:desc =
|foot:desc =
|bicycle:desc 
|horse:desc =
|motorcycle:desc =
|motorcar:desc =
|goods:desc =
|hazmat:desc =
|hgv:desc =
|agricultural:desc=
|psv:desc=
|vehicle:desc=
|motor_vehicle:desc=
|motorboat:desc=
|boat:desc=
|date_on:value=
|date_on:desc=
|date_off:value=
|date_off:desc=
|day_on:value=
|day_on:desc=
|day_off:value=
|day_off:desc=
|hour_on:value=
|hour_on:desc=
|hour_off:value=
|hour_off:desc=
|charge:value=
|charge:desc=
|maxaxleload:value=
|maxaxleload:desc=
|maxheight:value=
|maxheight:desc=
|maxlength:value=
|maxlength:desc=
|maxspeed:value=
|maxspeed:desc=
|maxstay:value=
|maxstay:desc=
|maxweight:value=
|maxweight:desc=
|maxwidth:value=
|maxwidth:desc=
|minspeed:value=
|minspeed:desc=
|noexit:desc=
|oneway:key=
|oneway:desc=
|traffic_sign:key=
|traffic_sign:desc=
|disused:desc=
|relation:restriction:desc=
|toll:desc=
}}