Skip to content

Instructions: Remove Unnecessary Continues #1047

Closed

Description

@boldtrn

Currently we have unnecessary continues in the instructions, here are some samples:

https://graphhopper.com/maps/?point=48.004367%2C8.137822&point=48.003878%2C8.137844
https://graphhopper.com/maps/?point=48.177999%2C8.572013&point=48.17788%2C8.573037

Currently, we are creating an instruction if we are not sure if an instruction is needed at this point. With the current data it's very complicated to improve the current situation. With highway information we should be able to improve it.

If we are continuing on the same highway class but the outgoing edge is a different highway class, then it is very likely that the turn instruction is not necessary.

Related to #990

Activity

  1. boldtrn commented on Jan 20, 2020

    @boldtrn
    MemberAuthor

    Should be fixed with #1844

  2. karussell commented on Jan 27, 2020

    @karussell
    Member

    #1844 has improved the situation a lot but unfortunately the two examples above are not yet fixed. Also I found an instruction which is now removed but important because "follow the road" is a "right turn".

  3. boldtrn commented on Jan 28, 2020

    @boldtrn
    MemberAuthor

    Thanks for the pointer. I will have a look and see if we can improve the situation 👍

  4. boldtrn commented on Jan 29, 2020

    @boldtrn
    MemberAuthor

    the two examples above are not yet fixed

    If you disable turn_costs they are fixed, I just created an issue for this #1883

  5. karussell commented on Jan 29, 2020

    @karussell
    Member

    Ah, ups. This is indeed also a deployment problem (see #1883). Sorry for the bubble.

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