Rendering OSM data

Cycling routes in OSM need to be entered as relations. How this works is described in detail on the tagging page about cycling routes in the OSM wiki. This map shows all relations that have at least the following tags:

type = route|superroute
route = bicycle

Mountain-biking routes are displayed on a separate MTB-map.

A route tag with multiple values is supported when they are separated by semicolon without any surrounding spaces. The classification (and therefore the colour of the route in the map) is determined from the network tag.

The label for each route is "guessed" from the tags in the following order:

  1. If a ref tag exists, make a text label with the ref tag.
  2. If a name tag exists, derive a reference from that, first by using only upper-case letters and failing that by using the first letters of the name.
  3. Give up.

The map also supports relation hierarchies.