Key:distance

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Key:distance
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen Kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk bokmål norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português português do Brasil română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް
Public-images-osm logo.svg distance
Osm element key.svg
Description
Distance (i.e. extent; length from start to finish) of a route given in kilometers, or distance along a route marked by milestone.
Group: Route
Used on these elements
may be used on nodesshould not be used on waysshould not be used on areasmay be used on relations
Status: In use

This describes the distance (i.e., total length; physical extent) of a geographic feature. It is used in two kinds of elements: route relations and milestone nodes, as specified below.

If no unit is given explicitly, the value is assumed to be in kilometers. If another unit is given, it should be separated from the number by a space. Any decimal should be specified using a dot (.) as the decimal separator. Abbreviations for other units are described on the Units page.

Route Relations

When used on a route relation, distance describes the total distance of the route. It should not be used on single ways, because it will cause confusion if the way is split and the tag is kept.

For example, the total length (physical extent) of the Polish Autostrada A1 is currently 326 km, so the relation for Autostrada A1 (2238775) is tagged distance=326.

This definition still leaves certain issues undetermined. Lots of roads have breaks or jumps where they are not defined. They disappear at these gaps and then reappear elsewhere. How does the "distance" of a relation handle these gaps? Is the distance of that gap included or ignored?

Milestone Nodes

This tag is also used on milestones to record the distance shown on the marker--see that tag for more details. Milestones are used for highways, railways, and waterways.

Similar tags

  • length=*: The length of a feature, in meters.
  • width=*: The width of a feature, in meters