User:Pietervdvn/Skirouting-with-Osmand
This document details on how to add Ski routing to OsmAnd. Keep in mind that this is but a side project, heavily sucks and is untested. Always take a paper map with you.
Disclaimer
- Use your common sense
- Mountains are cold and dangerous
- Ski routing sucks
- Ski routing does not take closing times of lifts into account.
- Ski timing is unreliable
- Your phone battery might die. Always take a paper map with you
- Don't ski while drunk
- The map is incomplete, out of date and wrong - it might bring you in a dangerous area
- Use at own risk
Ski routing sucks
Before starting about ski routing on OsmAnd, it is important to know that many ski resorts are mapped quite badly.
In 99% of the cases, the ski pistes are _not_ connected to the arialways and thus _not_ routable.
Therefore, it is important to fix up your ski resort on OSM before actually going there - an excellent activity while on the train to your winter sport destination.
Common mistakes
Ski pistes not connected to arialways - sadly very common in OSM
Ski pistes not connected to each other and ski pistes which start at the edge of an 'area'-ski piste don't work either. Connect the routable graphs instead.
A few other pointers
Keep junctions simple - when multiple ski pistes come together, easiest is to let them all merge at one common point.
At last, it is possible to use `piste:type=connection` to connect two aerialways in both ways (use 'piste:type=downhill' for oneways)
Also see Ski Piste Mapping
Roadmap
EDIT: this feature is within the released versions! Since 3.4 (released 2019-07-11), OsmAnd has a ski profile, although it has to be enabled first.
The ski map generation and routing profile is already upstreamed. Maps should have routable ski information starting in may 2019.
The routing profile is not yet activated though. Easiest is probably to take the original routing.xml, remove the 'boat' profile and rename 'ski' to boat. Then activating boat should take you skiing.
Once OsmAnd refactoring is done, it should be added.