Key:width

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages
Deutsch English français italiano 日本語 русский suomi українська
Public-images-osm logo.svg width
Height.png
Description
The width of a feature
Group: Properties
Used on these elements
may be used on nodes
may be used on ways
may be used on areas
use on relations unspecified
Useful combination
highway=*
Status: unspecified

Description

The key width describes the actual width of a way or other feature. By default, values will be interpreted as metres. 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=*.

Examples

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"

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