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

route description for paths without names #46

Closed
emiltin opened this issue Dec 4, 2011 · 2 comments
Closed

route description for paths without names #46

emiltin opened this issue Dec 4, 2011 · 2 comments
Milestone

Comments

@emiltin
Copy link
Contributor

emiltin commented Dec 4, 2011

the route description needs to be different for ways no names. as it is now, odd descriptions result:

  1. Head on Njalsgade for 80 m
  2. Turn right on for 89 m <--------------- odd grammar
  3. You have reached your destination

i'm also noticing that turns from a way without a name, to another way without a name seems to be excluded altogether from the route description. for example this route description is output for route that in fact includes 3 turn (at path intersections):

  1. Head on for 352 m
  2. You have reached your destination

an idea could be to use the type of path in place of the name, for example: "turn right on cycleway", "turn left on footway", "continue on residential road", etc.

@DennisOSRM
Copy link
Collaborator

Good catch. The issue with turning from an unnamed way into another one needs attention.

@DennisOSRM
Copy link
Collaborator

This is implemented now. The output will announce every possible turn at junctions of unnamed streets in the hope that the number of those streets is rather limited. That assumption holds at least for western Europe.

Will push later today to master repo.

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

2 participants