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 ferry includes mangled name #61

Closed
emiltin opened this issue Dec 16, 2011 · 3 comments
Closed

route description for ferry includes mangled name #61

emiltin opened this issue Dec 16, 2011 · 3 comments
Milestone

Comments

@emiltin
Copy link
Contributor

emiltin commented Dec 16, 2011

http://localhost:5000/viaroute&start=55.679121891042,12.594452988286&dest=55.68155662141,12.599254142426&z=17&output=json&jsonp=showResultsRoute&geomformat=cmp&instructions=true

Head on for 2 m
2. Continue on 901;902;903 for 416 m <------- notice the way name
3. Continue on for 5 m
4. You have reached your destination

@DennisOSRM
Copy link
Collaborator

This is caused by the ref tag of the ferry. Ref's have precedence over names. See also here:

http://www.openstreetmap.org/browse/way/57780914

@emiltin
Copy link
Contributor Author

emiltin commented Dec 17, 2011

ok i see. i now realize that 902;903;904 is in fact bus route numbers.
why does ref take precedence over name?

@DennisOSRM
Copy link
Collaborator

For example a road that goes through two cities has different names in each city and no name in between but always the same ref. So it makes sense to adress it in turn instruction by its ref and not by the changing name.

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