Skip to content

Annotations for the graph and route #80

Closed

Description

@NopMap

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.


Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Activity

  1. karussell commented on Jun 13, 2013

    @karussell
    Member

    +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.

  2. karussell commented on May 9, 2014

    @karussell
    Member

    A first step via InstructionAnnotation and encoder.getAnnotation is done and will be polished via #88. So closing for now here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions