You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just an idea I want to discuss. Put bit-encoded annotations for dangerous or unusal things in the graph. When routing through annotated edges translate them into hints along the route.
Examples:
When you route through a ford, you might want to show the word "Ford" at that location, so if a user does not like to get wet he can change the routing parameters.
For cars you might want to mark the location of toll booths.
For horses bridges and tunnels are important as they might be dangerous.
Technically, the Encoders could register bits for things they want to annotate and could be called later to translate them back into text.
we have to think about if one feature maps to one bit (which would allow to tag a way with different text) or if we should use one number which allows more text values (but only one at a time)
One additional could be "roundabout" especially important for instructions.
Activity
karussell commentedon Jun 13, 2013
+1
we have to think about if one feature maps to one bit (which would allow to tag a way with different text) or if we should use one number which allows more text values (but only one at a time)
One additional could be "roundabout" especially important for instructions.
karussell commentedon May 9, 2014
A first step via InstructionAnnotation and encoder.getAnnotation is done and will be polished via #88. So closing for now here.
Override initCollections since we expect really short paths, fixes #97 …