Key:unit

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg unit
Osm element key.svg
Description
Defining the units used by other attributes' values on the same element. Edit or translate this description.
Group: Route
Used on these elements
may be used on nodesmay be used on waysmay be used on areasmay be used on relations
Wikidata
Status: draft

See also addr:unit=* for specifying sub-housenumber addressing.

unit=km/m/miles/mph/... has been suggested for defining the units used by other attributes' values on the same element, based on the assumption that it may be better for data handling to have the unit separated out from the value of a key.

It is not accepted tagging practice and not widely used. Instead, units are commonly given as part of a value, like maxspeed=30 mph or height=2 m.