|The legal maximum height in metres|
|Used on these elements|
|Status: In use|
|Tools for this tag|
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. Use the tag maxheight:physical=* for physical height limits.
How to Map
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 apply. 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).
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
|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 and 7 inches||maxheight=6'7"||Use a typewriter apostrophe character after the feet value and a typewriter double-quote character after the inches value. Spaces are not permitted.|
Some non-numerical values are in use in order to tag roads where a physical height limit exists, but no traffic signs are indicating a legal height limit.
|| There isn't any traffic sign indicating a legal maxheight limit, and the physical height is sufficient for the country specific height limit of general traffic. In some countries a missing traffic sign clearly indicates that this is true.
In Germany (Europe?) this does also imply a physical height of at least 4.5m.
|Most frequently used maxheight value|
||There isn't any traffic sign indicating a legal maxheight limit, but the physical height is more limiting than the country specific height limit of general traffic. This value is mainly useful for private building passages, where a traffic sign might not be required by law or might be missing in spite of a legal requirement.|
||Neither a traffic sign nor the non-existence of a traffic sign is indicating maxheight. Also the physical height is not known well enough to decide if it is more limiting than the default country specific height limit of general traffic.|
|| At least in case of public German roads
||Being less specific than the previous values it should be replaced by one of previous values.|
|| This value is mainly used with the meaning there is no legal height limitation other than the default height limit of general traffic. Therefore this value is intended to be equivalent to
|| Typically being used below bridges and in tunnels value |
|| This value is mainly used with the same meaning as
||This value seems to be a bad translation from German indicating there aren't any traffic signs.|
A missig maxheight tag could mean there isn't a height restriction or there is a height restriction, but nobody has mapped it yet. Therefore a tag like
maxheight=default is very valueable information for truck routing.
In addition these non-numerical values have a QA purpose by removing the missing maxheight indication from the Maxheight Map. The non-numerical values are mainly used in Germany and a few countries around, where the Maxheight Map has been used in order to collect maxheight data systematically.
- Rendering in OSM Transport Karte: Example 4,20 m
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"|
So far these are only UK road signs which show the height feet & inches (TODO: add another example)
A height restriction on a railway bridge. Note the tag is applied to the road
See Road signs in the United Kingdom for some other examples of signs
- maxheight:physical=* for when a physical barrier (as opposed to, e.g. the law) limits the height of traffic using the way.
- barrier=height_restrictor in combination with maxheight=* for intentionally blocking higher vehicles from entering an area, e.g. a car park.
- access=* for other access restrictions
- height=* - measurement of height dimensions e.g. for a building