From OpenStreetMap Wiki
(Redirected from Tag:maxspeed=100)
Jump to navigation Jump to search
Public-images-osm logo.svg maxspeed
Specifies the maximum legal speed limit on a road, railway or waterway. Edit or translate this description.
Group: Restrictions
Used on these elements
may be used on nodesmay be used on waysmay be used on areasshould not be used on relations
Useful combination
See also
Status: de facto


The maxspeed=* tag is used on ways to define the maximum legal speed limit for general traffic on a particular road, railway or waterway. By default, values will be 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 (see Examples). The tag is also used on nodes to specify maxspeed traffic signs.


The maximum speed limit for a highway=*, railway=rail, waterway=river etc can be specified as follows (these are tagging examples for linear features, you can additionally map the traffic signs themselves on a node at the sign position with traffic_sign=maxspeed and maxspeed=*):

Type Example Meaning
numeric maxspeed=60
maxspeed=50 mph
maxspeed=10 knots
The maximum fixed numeric speed limit, followed by the appropriate unit if not measured in km/h when no units should be included. For example maxspeed=60 for 60 km/h and maxspeed=50 mph for 50 mph (note the space between the value and the unit).
variable maxspeed:variable=* Indicates that there is a (variable) maximum speed limit displayed on electronic variable signs.

Please do not use this tag for railway lines and tag instead the maximum allowed speed there.

none maxspeed=none Indicates that there is no fixed maximum numeric speed limit for this section of road (on some German autobahns and a very few other places). Not to be used for situations where there is a limit but it is not known. Where the limit is not known do not include a maxspeed tag.
walk (proposal) maxspeed=walk In Austria and Germany the speed limit for living street (German: Wohnstraße bzw. Verkehrsberuhigter Bereich) is defined only as being a walking speed but there is no defined numeric value for this. The maxspeed walk proposal suggests that walk should be used, but it is not commonly used.

implicit maxspeed=<countrycode>:<zone type> Only in some places, notably Romania and Russia, it is common to find that maxspeed holds a value of the form '<countrycode>:<zone type>'. It is used in Russia for areas where the speed limit is indicated on the street by use of a symbol or icon rather than a number. The format includes a country code followed by a ':' and a zone identifier (For example 'RO:urban'). This non-numeric notation is used to avoid the correction of an entire country map due legislation changes regarding maximum speed.

Excluding the above, it is more common and appropriate to provide a numeric value for maxspeed=* than to use the Context Specific Values (Default Limits) of source:maxspeed=* .

For more information on this, and for a table of common values see source:maxspeed=*

Extended tagging


Where different speed limits are posted for different classes of vehicles these should be specified using maxspeed:<vehicle>=*. The possible values for <vehicle> correspond to the values for transport modes of the key access=* (see also Examples).

Note: Where a lower blanket speed limit is applied for certain classes of vehicle across all roads within the jurisdiction then this should not be tagged at the individual road level.

For example:

Driving direction

Main article: Forward & backward, left & right

Where different speed limits are specified for each driving direction those can be specified using maxspeed:forward=* resp. maxspeed:backward=*, whereas forward applies to the speed limit for the same direction as the OSM way and backward to the speed limit for the opposite direction.


Where different speed limits are specified for each lane of a road those can be specified using maxspeed:lanes=*. Each lane’s maximum speed has to be separated with the “|” character. The first maximum speed is the maximum speed of the leftmost lane (viewed from the direction of the OSM way), the second maximum speed is the speed of the lane right from the leftmost lane and so on until the rightmost lane. Further if they should be specified for each driving direction separately the key maxspeed:lanes:forward=* resp. maxspeed:lanes:backward=* can be used, whereas lanes:forward applies to the speed limit of the lanes for the same direction as the OSM way and lanes:backward to the speed limit of the lanes of the opposite direction. See therefore also the Examples as well as the article about mapping individual lanes.

Time or other conditions

Main article: Conditional restrictions

Example: The maximum speed is 100 km/h between 6am and 7pm on workdays (Monday-Friday) but otherwise is 120 km/h:
maxspeed:conditional=100 @ (Mo-Fr 06:00-19:00)

Other considerations

The maxspeed=* tag should ideally be added to only the segment of roadway for which the speed limit applies. Depending on the jurisdiction, a speed limit may take effect at a speed limit sign [1][2], at a solid line painted across the roadway near the sign, at a fixed distance away from the sign, or at the nearest intersection.


Identification Tagging Remark
maxspeed=60 + source:maxspeed=sign Alternatively maxspeed=60 km/h can be used.
MUTCD R2-1.svg
maxspeed=50 mph + source:maxspeed=sign The speed limit is specified in the unit which is legally defined and will not be converted to km/h.
Zeichen 393.svg
maxspeed=50 + source:maxspeed=DE:urban

maxspeed=100 + source:maxspeed=DE:rural
maxspeed=none + source:maxspeed=DE:motorway

On all roads in Germany, where no explicit speed limit is defined, the corresponding implicit values can (and should) be specified.
10 knots maxspeed=10 knots The speed limit is specified in the unit which is legally defined and will not be converted to km/h.
Cholupice, proměnná značka rychlosti před Cholupickým tunelem, rozostřený pohled.jpg
maxspeed:variable=* The (variable) speed limit is announced on speed limit signs.
UK National Speed Limit Sign.jpg
maxspeed=60 mph + maxspeed:type=GB:nsl_single + source:maxspeed=sign A speed limit of 60 miles per hour on a road in the UK based on a "national speed limit" sign.
CH-Hinweissignal-Anzeige von Fahrstreifen mit Beschränkungen.svg
maxspeed:lanes=100|100|80 A speed limit of 80 kilometres per hour on the rightmost lane on a road with an assumed general speed limit of 100 kilometres per hour.
Maxspeed 60 km h for hgvs.jpg


A speed limit of 60 kilometres per hour valid only for heavy good vehicles - 80 kilometres per hour otherwise.
40kph between 08:00 and 09:30 and 14:30 to 16:00 road sign
Australian school zone sign from the state of Victoria
maxspeed:conditional=40 @ (Mo-Fr 08:00-09:30, 14:30-16:00;PH off;SH off) Conditional speed limits during school times. See Conditional restrictions for seasonal or time of day changes.
80 unless raining, 60 when raining road sign
maxspeed=80 + maxspeed:conditional=60 @ wet Wet weather conditional speed limit


  • JOSM
    • The default internal mappaint style displays the value of maxspeed on a node if tagged together with traffic_sign=* as traffic sign.
    • The mappaint style maxspeed displays the value of maxspeed on ways as coloured underlay.
  • Other services:
    • Worldwide maxspeed overlay
    • Overpass turbo queries
      • Maxspeed coloured similar colour style to previous ITO map (Yellow for maxspeed of 'none'. dark blue for 130/120/110. light blue for 100, purple for 90/80, red for 70/60 orange for 50 and green for 5/10/15/20/30/40)
      • Maxspeed major roads coloured similar colour style to previous ITO map (Yellow is used for ways with maxspeed set to 'none', dark blue for 130/120/110, light blue for 100, purple for 90/80, red for 70/60, orange for 50 and green for 30



Regular expression for numeric values only:

^([0-9][\.0-9]+?)(?:[ ]?(?:km/h|kmh|kph|mph|knots))?$

Regular expression which catches numeric values and implicit values, e.g. like none or signals:

^([^ ]+?)(?:[ ]?(?:km/h|kmh|kph|mph|knots))?$

One mile per hour corresponds to 1.609 km/h and one knot to 1.852 kilometres per hour.


Router developers should be aware that the highway=* tag is not necessarily a good proxy for speed limits in some jurisdictions. For example, in the U.S. state of Ohio, many factors affect a roadway's speed limit, to the extent that rural, unpaved highway=unclassified ways have a higher speed limit by default (55 mph) than some urban highway=motorway ways (50 mph).

See also

Related keys

Related topics