From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg maxlength
Zeichen 266.svg
The legal maximum length in metres Show/edit corresponding data item.
Group: restrictions
Used on these elements
should not 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: de facto

maxlength expresses a legal vehicle length limit for using the way it is added to. If no unit is included, the value is assumed to be in metres.

In the United States, laws and signs express length limits for semi-trailer trucks (maxlength:hgv_articulated=*) in feet as measured from the kingpin to either the rear axle (KPRA) or the center of the rear axle group, depending on the state. Both formulas exclude most of the tractor unit's length. [1]

Can also be used on campsites, ferry lines, etc to express the maximum length of vehicles allowed. If rules and signs indicates that there is no length limit tag this as maxlength=none. I.e., on a caravan_site=* this indicates that motorhomes of all lengths can be accomodated.


Simple examples

  1. No entry for vehicles or combinations of vehicles exceeding ... metres in length

  2. Road_signs_in_the_United_Kingdom#Size/Weight_restrictions

    Diagram 629.1 Vehicles or combinations of vehicles exceeding the length indicated prohibited

More complicated examples

If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!

See also

  • access=* for other access restrictions