Skip to content

Via routing without u-turns for speed mode #1765

Open

Description

@easbar

Using edge-based CH it should be possible to support proper u-turn prevention for via-point routing (pass_through=true).

Related: https://discuss.graphhopper.com/t/node-id-must-be-a-virtual-node/4829

Activity

  1. michaz commented on Oct 25, 2019

    @michaz
    Member

    Looking forward to this, as this has applications to everything from map-matching to tour planning.

  2. michaz commented on Nov 5, 2019

    @michaz
    Member

    How interesting, thank you! To me, this looks like he should try map-matching rather than via-routing. I think the problem is solved there.

  3. michaz commented on Nov 5, 2019

    @michaz
    Member

    Actually, via-routing without the greediness is map-matching. Isn't it?

  4. NoamDev commented on May 12, 2020

    @NoamDev

    Hi @easbar,
    I understand I could use the curbside feature as a workaround for now.
    Could you please explain to me how to do it correctly?

  5. easbar commented on May 12, 2020

    @easbar
    MemberAuthor

    I understand I could use the curbside feature as a workaround for now.

    You just set curbside=right (or left) for all points then there will not be any u-turns, but also you are forcing a certain side of the road (that is why this is rather a workaround and we have this issue to support this use-case properly).

  6. NoamDev commented on May 12, 2020

    @NoamDev

    Oh, that's horrible, to make it actually work, I'd have to check any possible combination...
    And even then it might not work.

    I guess I'm right not to expect any work on it anytime soon (because work is centered around 1.0 release).

  7. NoamDev commented on May 13, 2020

    @NoamDev

    When a way point is a virtual node, it would be easy.
    We should just set the outEdge as the other edge of the virtual node.

    In order to make that work even on tower node, we can use the same suggestion I made in (#1258).

  8. easbar commented on Sep 30, 2020

    @easbar
    MemberAuthor

    A little roadmap since we keep discussing this over and over again:

    • remove unfavored virtual edges in map-matching (use edge-based routing instead)
    • allow setting a finite penalty when using startOut/targetIn edges for bidir algorithms
    • implement via-routing using startOut/targetIn edges instead of unfavored virtual edges
    • implement heading using startOut/targetIn edges instead of unfavored virtual edges
    • remove unfavored virtual edges from code base
    • implement advanced via-routing algorithm that finds the ideal start/target edges at every via-point by taking into account the following legs of the route
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