From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg width
The width of a feature Edit this description in the wiki page. Edit this description in the data item.
Group: Properties
Used on these elements
may be used on nodesmay be used on waysmay be used on areasmay be used on relations
Useful combination
Status: de facto

The key width describes the actual width of a way or other feature. By default, values will be interpreted as metres. To reduce the risk of misunderstandings, or if the width should be specified in a different unit, the unit can be added to the end of the value, separated by a space (see #Examples). The value should always use the dot as decimal separator, if needed.

The source of the width information can be specified by source:width=*.


Width Tagging Remark
Two metres width=2 Alternatively width=2 m could be used.
0.6 miles width=0.6 mi Please note the dot as decimal separator!
16 feet and 3 inches width=16'3" Use a typewriter apostrophe character after the feet value and a typewriter double-quote character after the inches value. Spaces are not permitted.

Common mistakes

Legally restricted width

Do not confuse the specification of the actual width with the specification (of a legal restriction) of a maximum permissible width of vehicles via maxwidth=*.

Descriptive values

It is discouraged to specify values as, e.g., width=narrow or similar. See therefore this proposal.

Estimated values

If the width couldn't be exactly determined or is estimated, use the key est_width=* instead.

Incorrect values

Often the values themselves are not specified correct. The following table contains examples of incorrect tags and their correct notation.

Incorrect Explanation Correct
width=2km The space between value and unit is missing. width=2 km
width=0,6 The comma is used as wrong decimal separator. width=0.6
width=12' 6" There should not be a space between feet and inches. width=12'6"

See also