Hey! You ruined my surprise!!!
User DoK and me have been working in the last few days on standardizing this.
Lonvia’s Hiking Map isn’t the only one. There’s also hikebikemap.de which have a nice rendering, and also capable of showing Lonvia’s layer, as well as hill shading. This is pretty impressive.
Now, as for Israel…
Actually, this is general info, so anyone can chime in.
There are 2 things that needs to be done in order to have a route rendered on these maps:
- Use the way in a relation.
and
- Add the osmc:symbol tag in the relation.
The relation should be of type=route, and preferably route=hiking as well.
Then one could add tags like network=itc, and ref=TheRefNumber, name=NameOfRoute, name:en=NameOfRouteInEnglish, etc.
And also the osmc:symbol tag, which tells the renderer how to render the shield.
I’d like to elaborate a little to what’s in the wiki, as the wiki is pretty bare boned.
The osmc:symbol tag has values for colors and how the shield should look like.
I’ll do that by an example:
A route marked in red (i.e. white-red-white) should have the value of:
osmc:symbol=black:white:red_bar
black = color of the way, Ignored by both Lonvia’s map and hikebikemap.
white = background of the shield
red_bar = foreground of the shield.
This will render the route’s shield as white, with a red bar (stripe) in the middle of it.
There is an open question what should the 1st color be.
There are 2 options:
-
The color of the shield’s bar, so the above example would be: osmc:symbol=red:white:red_bar
But I don’t like it for several reasons:
1.1) Sometimes the same way is used in 2 routes, so which color should be rendered?
1.2) A colored way looks different than the non-colored ways, and that might lead to ambiguous understanding (is it a path or a track?)
1.3) If a renderer really wants, they could take the foreground color and use that to color the route. -
Preferably, the way should be rendered the same way as non-colored ways, and only shields sho on the map.
This is the standard in online topographic maps, like Mapa.
However, the 1st color isn’t optional, so black is a good default value (the same as hikebikemap), so the above example would be: osmc:symbol=black:white:red_bar
I prefer option 2: osmc:symbol=black:white:red_bar
Lonvia’s and hikebikemap.de lag about a day after the OSM DB, which means updates should take roughly 2 days to show on the map.
Let the questions begin…
talkat.