Key:maxwidth

From OpenStreetMap Wiki
Revision as of 19:06, 7 June 2022 by Xioywa (talk | contribs)
Jump to navigation Jump to search
Public-images-osm logo.svg maxwidth
Zeichen 264.svg
Description
The legally restricted maximum width of a vehicle 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)
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 meters. 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=*.

Examples

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=*.

Maximum physical width

Do not confuse the specification of the legally restricted maximum width of vehicles with the specification of a physical width limit via maxwidth:physical=*.

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

  • Overview of possible units
  • Specification of other access restrictions via access=*
  • Specification of the actual width via width=*
  • Specification of a physical restriction of the maximum possible width via maxwidth:physical=*
  • Specification of a legal restriction of the maximum permissible height via maxheight=*
  • Specification of a legal restriction of the maximum permissible weight via maxweight=*