From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg maxwidth
Zeichen 264 - Verbot für Fahrzeuge über angegebene Breite einschließlich Ladung, StVO 1992.svg
The legally restricted maximum width of a vehicle 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
Status: in use

The key maxwidth specifies a legal restriction of the maximum permissible width of a vehicle in order to use a way or other feature (e.g. a gate). By default, values will be interpreted as metres. If the permissible width 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 value should always use the dot as decimal separator, if needed.

The source of the maximum permissible width can be specified by source:maxwidth=*.


Width Tagging Remark
Three metres maxwidth=3 Alternatively maxwidth=3 m could be used.
3.2 metres maxwidth=3.2 Please note the dot as decimal separator!
6 feet and 7 inches maxwidth=6'7"

Common mistakes

Actual width

Do not confuse the specification of the maximum permissible width of vehicles with the specification of the actual width via width=*.

Incorrect values

Often the values themselves are not specified correctly. The following table contains examples of incorrect tags and their correct notation.

Incorrect Explanation Correct
maxwidth=3.8m The space between value and unit is missing. maxwidth=3.8 m
maxwidth=3.8 metres The unit 'metres' is not the correct unit. maxwidth=3.8 m or maxwidth=3.8
maxwidth=0,6 The comma is used as wrong decimal separator. maxwidth=0.6 or maxwidth=0.6 m
maxwidth=7 ft The unit 'ft' is not a correct unit. Use x'y". maxwidth=7'0"
maxwidth=7' Do not forget to add the inch, even if it is 0. maxwidth=7'0"
maxwidth=2.3; 7'9" Only one value with unit is allowed. Choose metres or feet/inch maxwidth=2.3 m or maxwidth=7'9"

See also