Key:maxspeed:conditional

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg maxspeed:conditional
School-zone-sign.gif
Description
Specifies a conditional maximum legal speed limit on a road, railway or waterway, which only applies under certain circumstances Show/edit corresponding data item.
Group: restrictions
Used on these elements
may be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)should not be used on relations (except multipolygon relations)
Requires
Useful combination
Status: de facto

The maxspeed:conditional=* tag is used on ways to define the maximum legal speed limit which depends on certain situations, such as the time of day, weather, or another particular condition, for a highway=*, railway=* or waterway=*. This tag is used in addition to maxspeed=*, which specifies the normal maximum speed limit when the condition does not apply.

By default, values are interpreted as kilometres per hour. If the speed limit should be specified in a different unit the unit can be added to the end of the value, separated by a space.

The conditional maximum speed limit employs conditional restrictions syntax.

Examples

Identification Tagging Remark
Speedlimit120-timecondition.jpg maxspeed=120
maxspeed:conditional=130 @ 19:00-06:00

The speed is limited to 120 km/h from 6 AM to 7 PM, but the default of 130 km/h applies otherwise (example from Dutch motorway).

Note that maxspeed=* contains the daytime situation as decided by the Dutch OSM community.

Zeichen 274-120 - Zulässige Höchstgeschwindigkeit, StVO 2017.svg
6-20 h
Zeichen 274-100 - Zulässige Höchstgeschwindigkeit, StVO 2017.svg
22-6 h
maxspeed=none
maxspeed:conditional=120 @ 06:00-20:00; 100 @ 22:00-06:00
Two conditional maxspeed values valid at different times of day (this is a real example from a motorway in Germany).
maxspeed=120
maxspeed:conditional=none @ 20:00-22:00; 100 @ 22:00-06:00
Speed limit of 60 for HGV with weight more than 7.5t.jpg maxspeed=80

maxspeed:hgv:conditional=60 @ (weight>7.5)

Conditional speed limit applicable to a specific transportation mode with a weight condition.
40kph between 08:00 and 09:30 and 14:30 to 16:00 road sign maxspeed:conditional=40 @ (Mo-Fr 08:00-09:30,14:30-16:00; PH off; SH off) Conditional speed limits during school times.
80 unless raining, 60 when raining road sign maxspeed=80
maxspeed:conditional=60 @ wet
Wet weather conditional speed limit
maxspeed=80
maxspeed:conditional=60 @ snow
Snowy weather conditional speed limit
maxspeed=120
maxspeed:conditional=100 @ winter
Different speed limit in winter. Commonly used in Finland where it is not the same dates every year, but the switching date is country-wide and decided yearly by a Finnish authority (information in finnish).
Delaware S5-3-DE.svg maxspeed:conditional=20 mph @ flashing Lower speed limit when lights are flashing (used around some schools)
SCHOOL SPEED LIMIT 25 WHEN CHILDREN ARE PRESENT.png
maxspeed:conditional=25 mph @ children_present
Lower speed limit when children are present (used around some schools)

More info

This tag combines complexity of maxspeed tagging with complexity of conditional tags, but sometimes it is needed to record real complexity. See more info at Conditional restrictions and Key:maxspeed pages.

Tag usage history

Massive drop of use in 2021 (more than 50%, still not recovered) was caused by legislation in Poland. Poland used to have higher speed limit during night in urban area, this was eliminated and OSM data was mass updated.

Possible tagging mistakes

If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!