Key:unit

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg unit
Description
Defining the units used by other attributes' values on the same element. Edit this description in the wiki page. Edit this description in the data item.
Group: routes
Used on these elements
may be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)may be used on relations
Status: in use

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