Proposed features/More destination details

From OpenStreetMap Wiki
Jump to: navigation, search
more destination Details
Status: Draft (under way)
Proposed by: Jojo4u
Tagging: destination:*=*
Applies to: Way
Definition: More subkeys for destination=*
Drafted on: 2016-10-08

There are several proposed extensions to destination=* which are by decision of the author not covered by Proposed_features/Destination_details. This page gives room to document and develop them further. Users are invited edit below. If you have a new tag in mind, please discuss on Talk page.

Important: The scope of destination=* and it's subkeys is to support routing. A "photo-realistic" rendering of traffic signs, especially the geometry of entries on the sign - is not the scope of destination tags on ways.

destination subkey matching

First possibility: When destination subkeys (exception: destination:ref=*/destination:int_ref=*) are used, the values - including destination=* - are a semicolon-separated list of the same length. This allows to match the destinations and it's properties. The definition of destination:ref=*/destination:int_ref=* in this case needs further discussion.

Second possibility: Only the presence of a tag like destination:list=yes does allow the usage of semicolon-separated value lists. The values of the core keys are still backward-compatible given the interpreter can remove semicolons.

destination:colour

destination:arrow

The difference and applications in respect to turn:lanes=* need to be considered

destination:to

destination:symbol/destination:country discussion

Both tags may stand on it's own, or may complement a textual destination. Deriving tagging rules for simple use and semicolon-separated list seems difficult without the usage of a modifier tag (like destination:list=yes).

destination:ref/int_ref discussion

The following also applies to destination:int_ref=*. When only destination=* + destination:ref=* are used, a semicolon-separated value of destination:ref=* is understood to apply to all destinations.

Without usage of a modifier tag (like destination:list=yes) there are three possibilities to deal with this inconsistency:

  1. If a match between a single destination and a ref is needed use destination:to:ref=*.
  2. Change destination:ref=* separator to comma instead of semicolon.
  3. Change definition of destination:ref=* to semicolon-separated list if the other subkeys are used. Keep current definition if used alone. Use commas as separator if one destination has two or more refs.
  4. Change definition of destination:ref=* to semicolon-separated list if the other subkeys are used and the number of semicolon-separated values matches that of destination=*. Keep current definition if used alone. Use commas as separator if one destination has two or more refs.

With the usage of a special modifier tag (like destination:list=yes) the values should always be semicolon-separated like all other subkeys. Duplicate entries can be later removed by the interpreter.

See also