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

New name suppression ignores ref changes #4830

Closed
1ec5 opened this issue Jan 26, 2018 · 4 comments
Closed

New name suppression ignores ref changes #4830

1ec5 opened this issue Jan 26, 2018 · 4 comments

Comments

@1ec5
Copy link
Member

1ec5 commented Jan 26, 2018

@dgearhart reported that, in this route, OSRM doesn’t appear to issue a “continue straight” or “keep left” instruction at the Ephrata exit along U.S. 322 East near Hershey, Pennsylvania.

steps

OSRM assumes that, because the branch to the right is a motorway_link as opposed to a motorway, this junction is an ordinary highway exit rather than a fork. The change of ref from US 322 to US 422 at this point should cause OSRM to emit a new name instruction, but I suspect that osrm::util::guidance::requiresNameAnnounced() returns false in this case:

/cc @oxidase

@dgearhart
Copy link
Contributor

@oxidase here is another example
screenshot from 2018-01-26 10-06-57
PA 283 East ends and the user should be instructed to continue on US 30 East

@oxidase
Copy link
Contributor

oxidase commented Jan 26, 2018

@dgearhart #4832 adds a new instruction Merge left onto US 30 at https://www.openstreetmap.org/node/107398202#map=19/40.07055/-76.31835&layers=D
screenshot from 2018-01-26 10-26-40

@dgearhart
Copy link
Contributor

@oxidase the merge looks good - what happened to the highway suffix direction? PA 283 East and US 30 East

@oxidase
Copy link
Contributor

oxidase commented Jan 26, 2018

@dgearhart locally i use a profile without cardinal directions parsing. With enabled cardinal directions the instruction is Merge left onto US 30 $east

datendelphin added a commit to fossgis-routing-server/osrm-backend that referenced this issue 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

No branches or pull requests

3 participants