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

Fixed on ramps and off ramps leading onto unnamed roads #1740

Closed
wants to merge 3 commits into from

Conversation

jguthrie100
Copy link
Contributor

Fixes issue #1573

The directions text on on and off ramps now says (for eg) 'Take the ramp on the left towards Baltimore, I58' instead of 'Take the ramp on the left onto unnamed road'

Tested on motorways/highways across USA and Europe

 - On and off ramps now reference the direction that the ramp is heading in.
 - i.e. the directions text now says 'Take the ramp on the left towards Baltimore, I58' instead of 'Take the ramp on the left onto unnamed road'
@jguthrie100
Copy link
Contributor Author

jguthrie100 commented Feb 12, 2018

The without_directions commit removes the unnamed road text when its redundant and just leaves the instruction at Take the ramp on the left.

Matches the OSRM site more closely

@tomhughes
Copy link
Member

If I'm understanding this right then this doesn't actually limit itself to unnamed roads right? It changes all on and off ramps to be described in terms of the destination (if any) and not to mention the road you are moving on to?

Wouldn't it be better to show both if they are known? or at least to show the road name if that is known and the destination isn't?

@jguthrie100
Copy link
Contributor Author

Yeah that makes more sense.

Is there any chance you could have a look at #1741 , because when/if that gets committed, it'll change the logic required for checking whether an off/onramp has a valid name..

@tomhughes tomhughes closed this in 161ce94 Feb 13, 2018
@jguthrie100 jguthrie100 deleted the iss1573 branch February 13, 2018 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants