Key:distance

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages
English français
Public-images-osm logo.svg distance
Osm element key.svg
Description
Distance (i.e. extent; length from start to finish) of a route relation or any other line given in kilometers.
Group: Route
Used on these elements
should not 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.

If no unit is given explicitly, the value is assumed to be in kilometers.

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.