From OpenStreetMap Wiki
Jump to: navigation, search
Available languages
English français
Public-images-osm logo.svg distance
Osm element key.svg
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 nodes
should not be used on ways
should not be used on areas
may be used on relations
Status: Unspecified

Distance (i.e., total length; physical extent) of a geographic feature described by a route relation or any other line. For example, the "distance" of the Polish Autostrada A1 is currently 326 km, according to Relation: Autostrada A1 (2238775). This means the road's total length (its physical extent) is 326 km.

This tag is also used on milestones to record the distance shown on the marker.

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

Should not be used on single ways, because it will cause confusion if the way is split, and the tag kept.

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? Are the missing km somehow included or are they ignored?

Similar tag

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