Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle motorway forks with links as normal motorway intersections #4893

Merged
merged 2 commits into from
Feb 21, 2018

Conversation

oxidase
Copy link
Contributor

@oxidase oxidase commented Feb 16, 2018

Issue

If a motorway fork intersection has links the motorway handler can assign incorrect Left modifier
screenshot from 2018-02-16 11-54-20
http://map.project-osrm.org/?z=18&center=53.461582%2C-2.244827&loc=53.461383%2C-2.245116&loc=53.462187%2C-2.245100&hl=en&alt=0

PR changes handling of motorway intersections to a case of a normal motorway passing some ramps if exiting_motorways is not equal to valid_exits.

Tasklist

Requirements / Relations

Link any requirements here. Other pull requests this PR is based on?

@oxidase oxidase changed the title Guidance/highway with a link Handle motorway forks with links as normal motorway intersections Feb 16, 2018
@oxidase oxidase force-pushed the guidance/highway-with-a-link branch from fe5d39c to 802bdb1 Compare February 16, 2018 11:03
@oxidase oxidase force-pushed the guidance/highway-with-a-link branch from 802bdb1 to 3926641 Compare February 16, 2018 11:40
@oxidase oxidase self-assigned this Feb 16, 2018
@jguthrie100
Copy link

jguthrie100 commented Feb 16, 2018

Worth noting as well that the osrm map tile at that location needs to be updated.. https://www.openstreetmap.org/directions?engine=osrm_car&route=53.30787%2C-2.37205%3B53.46230%2C-2.24521#map=11/53.3846/-2.3317

screenshot_20180216-141147

@oxidase
Copy link
Contributor Author

oxidase commented Feb 16, 2018

@jguthrie100 👋 I have found the issue while looking at #4892. The data fix for #4892 will be visible after the OSM change will propagate in the data pipeline. But correct instructions at the intersection will be visible after the next OSRM release.

@jguthrie100
Copy link

Maybe, but the error is in the same place when using Graphhopper too, which makes me think it's probably something to do with the underlying data (which I've hopefully now fixed in OSM)

screenshot_20180216-173436

Copy link
Member

@ghoshkaj ghoshkaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@ghoshkaj
Copy link
Member

It looks like this PR is out of sync with master rn though. Rebase and merge? 😄

@oxidase oxidase force-pushed the guidance/highway-with-a-link branch from 3926641 to bf05ee0 Compare February 21, 2018 12:13
@oxidase oxidase added this to the 5.16.0 milestone Feb 21, 2018
@oxidase oxidase merged commit de13834 into master Feb 21, 2018
@oxidase oxidase deleted the guidance/highway-with-a-link branch February 21, 2018 13:19
datendelphin added a commit to fossgis-routing-server/osrm-backend that referenced this pull request Jun 10, 2018
  - Changes from 5.15.2:
    - Guidance
      - ADDED Project-OSRM#4676: Support for maneuver override relation, allowing data-driven overrides for turn-by-turn instructions [Project-OSRM#4676](Project-OSRM#4676)
      - CHANGED Project-OSRM#4830: Announce reference change if names are empty
      - CHANGED Project-OSRM#4835: MAXIMAL_ALLOWED_SEPARATION_WIDTH increased to 12 meters
      - CHANGED Project-OSRM#4842: Lower priority links from a motorway now are used as motorway links [Project-OSRM#4842](Project-OSRM#4842)
      - CHANGED Project-OSRM#4895: Use ramp bifurcations as fork intersections [Project-OSRM#4895](Project-OSRM#4895)
      - CHANGED Project-OSRM#4893: Handle motorway forks with links as normal motorway intersections[Project-OSRM#4893](Project-OSRM#4893)
      - FIXED Project-OSRM#4905: Check required tags of `maneuver` relations [Project-OSRM#4905](Project-OSRM#4905)
    - Profile:
      - FIXED: `highway=service` will now be used for restricted access, `access=private` is still disabled for snapping.
      - ADDED Project-OSRM#4775: Exposes more information to the turn function, now being able to set turn weights with highway and access information of the turn as well as other roads at the intersection [Project-OSRM#4775](Project-OSRM#4775)
      - FIXED Project-OSRM#4763: Add support for non-numerical units in car profile for maxheight [Project-OSRM#4763](Project-OSRM#4763)
      - ADDED Project-OSRM#4872: Handling of `barrier=height_restrictor` nodes [Project-OSRM#4872](Project-OSRM#4872)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants