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

Suppress freeway names in post-maneuver instructions #412

Merged
merged 1 commit into from
Jul 24, 2017

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Jul 22, 2017

Refactored the post-maneuver instruction generation code to account for the road class (as in #410) and moved the code to an extension on RouteStep. Consistently mark up road names and route numbers as addresses when either (but not both) is available on the step in question. In the rare event that a motorway has no name or number, deliver a post-maneuver instruction without the “on [road name]” prepositional phrase.

Project-OSRM/osrm-text-instructions#88 tracks upstreaming this post-maneuver instruction to OSRM Text Instructions.

/cc @bsudekum @ericrwolfe @frederoni

Refactored the post-maneuver instruction generation code to account for the road class and moved the code to an extension on RouteStep. Consistently mark up road names and route numbers as addresses when either (but not both) is available on the step in question. In the rare event that a motorway has no name or number, deliver a post-maneuver instruction without the “on [road name]” prepositional phrase.
@1ec5 1ec5 added bug Something isn’t working op-ex Refactoring, Tech Debt or any other operational excellence work. topic: instructions topic: voice labels Jul 22, 2017
@1ec5 1ec5 added this to the v0.6.0-1 milestone Jul 22, 2017
@1ec5 1ec5 self-assigned this Jul 22, 2017
@bsudekum bsudekum merged commit 127f544 into master Jul 24, 2017
@bsudekum bsudekum deleted the 1ec5-motorway-continue-776 branch July 24, 2017 21:03
mappy-mobile pushed a commit to Mappy/mapbox-navigation-ios that referenced this pull request Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working op-ex Refactoring, Tech Debt or any other operational excellence work. topic: instructions topic: voice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants