-
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
Experimental version of tile plugin using vtzero. #4686
Experimental version of tile plugin using vtzero. #4686
Conversation
Thanks for getting this going @joto. I agree that this should wait to merge for an official vtzero release. At the same time, would be great if @danpat could find a moment to kick the tires on this to provide any feedback now that might help guide any needed changes in vtzero before official release. |
Thanks this looks great, 300 LOC less 🎉 Looking forward to the vtzero release. |
8a23681
to
5c4353b
Compare
This uses the new vtzero library (https://github.com/mapbox/vtzero) instead of using protozero directly.
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.
So much more readable! 💯 Did you try these vector tiles with out debug viewer in osrm-frontend
?
@TheMarex debug tiles look good |
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)
This uses the new vtzero library (https://github.com/mapbox/vtzero)
instead of using protozero directly. The code becomes much cleaner this way and the generated tiles are smaller. Note that I have rewritten the code but only did a little bit of ad-hoc testing. To run this you'll need the newest release of protozero and vtzero master installed.
Issue
#4685
Tasklist
Requirements / Relations
Might need vendored in vtzero. The protozero vendered in with libosmium will need to be updated. Don't merge until there is an official released version of vtzero.
/cc @springmeyer