The legal maximum height in metres
maxheight expresses a height limit for using the way to which the tag is added. In most cases this expresses a legal limit, though there are places where this is used differently. Note that if it is desirable to establish a difference between a legal and a physical maxheight, this should be the lesser of the two.
If no unit is included, the value is assumed to be in metres. So for example maxheight=3.8 would mean maximum height is 3.8 m
For a bridge, the maxheight tag should be set on the way going under the bridge. Only tag the section of the way where the maxheight road signs are. If there are none, only the approximate section of the way which is under the bridge should be tagged with maxheight (see also osm help 3275).
|Three metres||maxheight=3||Alternatively maxheight=3 m could be used.|
|3.8 metres||maxheight=3.8||Please note the dot as decimal separator!|
|6 feet und 7 inches||maxheight=6'7"|
Often the values themselves are not specified correctly. The following table contains examples of incorrect tags and their correct notation.
||The space between value and unit is missing.||maxheight=3.8 m|
||The unit 'meters' is not the correct unit.||maxheight=3.8 m or maxheight=3.8|
||The comma is used as wrong decimal separator.||maxheight=0.6 or maxheight=0.6 m|
||The unit 'ft' is not a correct unit. Use x'y".||maxheight=7'0"|
||Do not forget to add the inch, even if it is 0.||maxheight=7'0"|
||Only one value with unit is allowed. Choose meters or feet/inch||maxheight=2.3 m or maxheight=7'9"|
These are both UK road signs which show the height feet & inches:
See Road signs in the United Kingdom for some other examples of signs
- height=* - measurement of height dimensions e.g. for a building
- maxheight:physical=* for when a physical barrier (as opposed to, e.g. the law) limits the height of traffic using the way.
- access=* for other access restrictions