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

Experimental version of tile plugin using vtzero. #4686

Merged
merged 2 commits into from
Apr 24, 2018
Merged

Experimental version of tile plugin using vtzero. #4686

merged 2 commits into from
Apr 24, 2018

Conversation

joto
Copy link
Contributor

@joto joto commented Nov 14, 2017

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

  • ADD OWN TASKS HERE
  • update relevant Wiki pages
  • add regression / cucumber cases (see docs/testing.md)
  • review
  • adjust for comments

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

@TheMarex TheMarex requested a review from danpat November 14, 2017 21:02
@springmeyer
Copy link
Contributor

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.

@TheMarex
Copy link
Member

Thanks this looks great, 300 LOC less 🎉 Looking forward to the vtzero release.

@oxidase
Copy link
Contributor

oxidase commented Apr 19, 2018

@joto @danpat I have updated tile plugin unit tests. Please could you review the PR?

@oxidase oxidase changed the base branch from master to subtrees-protozero-vtzero April 19, 2018 11:16
@oxidase oxidase force-pushed the subtrees-protozero-vtzero branch 5 times, most recently from 8a23681 to 5c4353b Compare April 19, 2018 19:13
joto and others added 2 commits April 19, 2018 22:23
This uses the new vtzero library (https://github.com/mapbox/vtzero)
instead of using protozero directly.
Copy link
Member

@TheMarex TheMarex left a 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?

@oxidase
Copy link
Contributor

oxidase commented Apr 24, 2018

@TheMarex debug tiles look good
screenshot from 2018-04-24 10-46-04

@oxidase oxidase merged commit 6b2f995 into Project-OSRM:subtrees-protozero-vtzero Apr 24, 2018
datendelphin added a commit to fossgis-routing-server/osrm-backend that referenced this pull request Jun 10, 2018
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants