From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Key:maxheight
Public-images-osm logo.svg maxheight
Zeichen 265.svg
The legal maximum height in metres
Group: Restrictions
Used on these elements
should not be used on nodesmay be used on waysmay be used on areasuse on relations unspecified
Documented values: 1
Useful combination
See also
Status: In use

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 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).

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


Height Tagging Remark
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.

Non-numerical values

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.

Value Meaning Remark
default 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 trafic 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
below_default 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.
no_indications 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.
no_sign At least in case of public German roads no_sign is equivalent to default. Being less specific than the previous values it should be replaced by one of previous values.
none 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 default, but some mappers might have used none with the same meaning as no_sign. At least in case of public German roads none is equivalent to default. Typically being used below bridges and in tunnels value none is intuitively felt wrong. Therefore it is often deleted. The usage of value none is not consistent to maxspeed=none, where none really indicates there isn't any legal limit and not a default limit.
unsigned This value is mainly used with the same meaning as default, but might also have the same meaning as no_sign. At least in case of public German roads it is equivalent to default. 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.


Common mistakes

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
maxheight=3.8m The space between value and unit is missing. maxheight=3.8 m
maxheight=3.8 meters The unit 'meters' is not the correct unit. maxheight=3.8 m or maxheight=3.8
maxheight=0,6 The comma is used as wrong decimal separator. maxheight=0.6 or maxheight=0.6 m
maxheight=7 ft The unit 'ft' is not a correct unit. Use x'y". maxheight=7'0"
maxheight=7' Do not forget to add the inch, even if it is 0. maxheight=7'0"
maxheight=2.3; 7'9" 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:

UK Max Height.jpg UK maxheight imperial warning.jpg

See Road signs in the United Kingdom for some other examples of signs

Related tags

  • 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

See also

  • Maxheight Map helps you find missing maxheight tags under (railway-)bridges and tunnel/covered. See Wiki-Page for more details.