|Machine-Readable representation of route symbol that is used as waymarker or on guideposts
|Used on these elements
|Status: in use
|Tools for this tag
Machine-Readable Description of Hiking Path Symbols
This renderer specific tag was invented to automatically render symbols for hiking and riding routes on the OSMC Reit- und Wanderkarte and is understood by the OSMC map generator for Garmin maps. It is also used at CMarqu's hike'n'bike map. The idea is to compose the symbol from different input graphics and text components. This tag is intended to be read by rendering software and, thus, completes rather than invalidates the symbol=* tag which should contain a human-readable description of the symbol.
Syntax of the tag is:
with the subparts:
- waycolor - Name of the color in which the route path itself should be painted. (Please note that the color white is not allowed on the OSMC map.)
- background - Graphics describing the background of the symbol. For most symbols a simple single-colored background will suffice but more complex patterns are allowed. (For example: use "white" for a simple white background)
- foreground (optional) - Main graphics of the symbol, generally a geometric figure and a color, e.g. "blue_bar". The image will be overlayed over the background image and should therefore be partly transparent. This field can be empty if a text symbol is used.
- foreground2 (optional) - A second foreground image can be used to depict multicolor markings or to repeat the symbol.
- text (optional) - Text to print over the symbol. It should not be longer than 3 letters. Use simple ASCII letters only, exotic ANSI/UTF-8 glyphs are not supported. This and textcolor may be omitted when not needed.
- textcolor (optional) - Name of the color in which to print the text.
Subparts can be left empty or may be left out if they are unneeded. The minimum configuration is a waycolor and either a foreground or some text and a background.
- osmc:symbol=green:white:green_bar - a green path on map, symbolized with a rectangular white symbol containing a green bar and no text label
- osmc:symbol=red:white:red_bar:FW:gray - a red path on map, symbolized with a rectangular white symbol containing a red bar and a gray "FW" text label
- osmc:symbol=black:black:X29:white - a black path on map, symbolized with a rectangular black symbol containing a white "X29" label
- osmc:symbol=red:white:green_circle:1:black - a red path on map, symbolized with a rectangular white symbol containing a green circle enclosing a black "1" text label
- osmc:symbol=red:red_dot - a red path on map, symbolized with a red dot without background (alternative: red::red_dot, see discussion)
- osmc:symbol=blue:shell_modern - a blue path in map, symbolized by a modern shell and no text label (alternative: blue:blue:shell_modern, see discussion)
- osmc:symbol=green:white:yellow_bar:green_stripe - a green path on map, symbolized with a rectangular white symbol containing a yellow bar and a green stripe
- osmc:symbol=blue:yellow:white_diamond:blue_diamond_right - a blue path on map, marked with a diamond half white and half blue, on a yellow background
Valid elements for a osmc:symbol are found in this list of symbols. Note that the set currently targets hiking paths used primarily in Germany. In other countries, other symbols may be defined and documented elsewhere (possibly in a page on this wiki)
Please note that, in order to be truly useful to renderers, the number of different values for the subparts should be kept small. Always try to approximate the symbol of your hiking route using existing values first. If you need a frequently used symbol added it is recommended to contact Nop with suggestions.
Finally, don't just add a osmc:symbol to a hiking route because it looks good on the map. osmc:symbol should always reflect the route symbol that is used as waymarker or on guideposts to give the direction.
Label text color
Maps that show osmc:symbol
- Topografische Reit- und Wanderkarte
- Lonvia's World Hiking Map and Riding Map
- Hike & Bike Map (displays the Lonvia overlay)
- Mountain hiking trails in Romania
- Collection of hiking maps, optimized for mobile use
- OsmAnd - Route-colouring in extra map-layer
These are web-based tools to test osmc:symbol tagging without uploading to OSM:
- symbol=* - Human-Readable Description of Route Symbols that are used as waymarkers or on guideposts
- wiki:symbol=* - OpenStreetMap Wiki Symbol References of Hiking Path Symbols
- trailblazed=* - Markings on outdoor paths and trails by signs, markers, poles, cairns or in another way
- information=guidepost - Used to mark a guidepost/signpost