The osmc:symbol tag
Theosmc:symbol
tag provides a way to describe in a machine-readable way
route symbols in simple geometric shapes like they are found in some
European countries (and especially in Germany). The map only
supports a subset of what is described on the Wiki page. In order to
be rendered on the map, the tag must have the following format:
osmc:symbol=waycolor:background:foreground:text:textcolor
waycolor
must be there but is ignored for this map.
A second foreground is not supported. text
and textcolor
can
be omitted.
Foreground
The foreground symbol consists of a color and a shape linked by an underscore. The table below shows all combinations recognised by this site. It also recognises foregrounds that consist only of the name of the shape. The symbols for those are shown in the last column.
black_* | blue_* | brown_* | gray_* | green_* | orange_* | purple_* | red_* | white_* | yellow_* | none | |
---|---|---|---|---|---|---|---|---|---|---|---|
*arch | |||||||||||
*backslash | |||||||||||
*bar | |||||||||||
*circle | |||||||||||
*corner | |||||||||||
*cross | |||||||||||
*diamond_line | |||||||||||
*diamond | |||||||||||
*dot | |||||||||||
*fork | |||||||||||
*lower | |||||||||||
*right | |||||||||||
*pointer | |||||||||||
*rectangle_line | |||||||||||
*rectangle | |||||||||||
*red_diamond | |||||||||||
*slash | |||||||||||
*stripe | |||||||||||
*triangle_line | |||||||||||
*triangle | |||||||||||
*triangle_turned | |||||||||||
*turned_T | |||||||||||
*x | |||||||||||
*hexagon | |||||||||||
*shell | |||||||||||
*shell_modern | |||||||||||
*hiker | |||||||||||
*wheel |
Examples:
green_slash =
orange_turned_T =
shell_modern =
Background
The background works in a similar way. It also consists of a color and a shape. The background may also be only a color name which results in a canvas of the choosen color.This is shown in the first row.
black* | blue* | brown* | gray* | green* | orange* | purple* | red* | white* | yellow* | |
---|---|---|---|---|---|---|---|---|---|---|
none | ||||||||||
*_circle | ||||||||||
*_frame | ||||||||||
*_round |
Examples:
brown_circle =
yellow =
Preview
Type an osmc:symbol value into the input field below to see how it will be rendered on the map.
osmc:symbol =