Key:unit

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg unit
Description
Defines the units used by other attributes' values on the same element. Show/edit corresponding data item.
Group: properties
Used on these elements
should not be used on nodesshould not be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
Status: deprecated

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.

See also