NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

When giving a height restriction for a bridge over a road should the restriction be placed on a short stretch of road under the bridge or for the whole of the relevant highway giving notice well in advance.

asked 22 Feb '11, 15:36

gumpa's gravatar image

accept rate: 0%

edited 25 Mar '11, 11:50

TomH's gravatar image

TomH ♦♦

I would only tag the short section of road under the bridge with the maxheight tag. Routers should be able to then avoid the bridge (if they know your vehicle height). Tagging the whole way isn't necessary, and risks any side roads that aren't affected by the height restriction becoming unroutable.

Example road under a railway bridge:


The tag goes on a short section of road : way 505620845 screenshot

permanent link

answered 22 Feb '11, 16:00

EdLoach's gravatar image

EdLoach ♦
accept rate: 22%

edited 08 Jul '17, 12:50

Harry%20Wood's gravatar image

Harry Wood


maxheight is primarily a legal restriction (unlike maxheight:physical) and if there are signs, then you should tag the entire stretch of road between the relevant traffic signs with maxheight.

(26 May '13, 12:39) Tordanik

@Tordanik, in the United States, the maximum-height restriction only applies to the actual point of physical restriction, though you will often see warning signs well ahead of that point.

For something passing over the road, I generally tag the shortest length of road for which passing the obstacle in question is unavoidable. For a tunnel, I put the tag on the way representing the tunnel itself.

(08 Jul '17, 19:49) Carnildo

Thank you for the information, @Carnildo, I was not aware of that. @EdLoach's answer still isn't correct for parts of the world where things are handled differently, though. As it's currently the accepted answer, it should ideally be applicable globally, and I would be happy if it was amended to explain the distinction.

(09 Jul '17, 09:45) Tordanik

At the best, I would tag the highway segment where the legal restriction is applying, let's say "where the road sign showing the restrictions are". Then it's not "you" to decide where you give notice in advance but rather the local authorities taking into account the local environment (and topology). If you give notice too early, e.g. at the intersections for instance, the risk is to exclude valuable routes in routing applications like factories entrances. If you give notice too late, you might take a truck into a narrow road where reverse drive is impossible (but that should never happen since drivers should follow road signs prior to GPS ;-)

permanent link

answered 22 Feb '11, 16:18

Pieren's gravatar image

accept rate: 15%

edited 22 Feb '11, 16:43


Yes, clearly tag the part where the official restriction is applying to. I found it useful to additionally mark the signs (traffic_sign=maxheight, maxheight=xy) on a node besides the road (to see which direction it applies to) as a hint for other mappers and to store the position more permanently (highway-nodes tend to get moved by the time).

(23 Mar '11, 19:34) dieterdreist

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 22 Feb '11, 15:36

question was seen: 17,100 times

last updated: 09 Jul '17, 09:45

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum