-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Allow excluding ferries on bicycle profile #5054
Conversation
1286df7
to
a1f36e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great
|
||
When I route I should get | ||
| from | to | route | turns | classes | | ||
| a | d | road,road | depart,arrive | [(),(tunnel),()],[()] | |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
||
When I route I should get | ||
| from | to | route | turns | classes | | ||
| a | h | ab,df,df,fh,fh | depart,roundabout-exit-2,exit roundabout slight right,notification straight,arrive | [()],[(),()],[(ferry)],[()],[()] | |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
a1f36e6
to
f3f8887
Compare
I checked how much memory increases if you add ferry exclusion:
|
Ran the same measurements on MLD datasets
|
Release OSRM 5.18.0 Changes from 5.17.0: - Features: - ADDED: `table` plugin now optionally returns `distance` matrix as part of response [Project-OSRM#4990](Project-OSRM#4990) - ADDED: New optional parameter `annotations` for `table` that accepts `distance`, `duration`, or both `distance,duration` as values [Project-OSRM#4990](Project-OSRM#4990) - Infrastructure: - ADDED: Updated libosmium and added protozero and vtzero libraries [Project-OSRM#5037](Project-OSRM#5037) - CHANGED: Use vtzero library in tile plugin [Project-OSRM#4686](Project-OSRM#4686) - Profile: - ADDED: Bicycle profile now returns classes for ferry and tunnel routes. [Project-OSRM#5054](Project-OSRM#5054) - ADDED: Bicycle profile allows to exclude ferry routes (default to not enabled) [Project-OSRM#5054](Project-OSRM#5054)
Issue
This PR allows excluding ferries for bicycle routes. This is not enabled by default, just another option for the bicycle profile. A side-effect is that we now also return classes for the bicycle profile which is helpful for navigation.
Tasklist