-
Notifications
You must be signed in to change notification settings - Fork 0
Valhalla Map Tiles Valhalla Source #14
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
base: traffic
Are you sure you want to change the base?
Conversation
…/valhalla-map-tiles
…ixes, dont render edges with no historic or live traffic
| $<$<BOOL:${WIN32}>:${dirent_include_dir}>) | ||
| $<$<BOOL:${WIN32}>:${dirent_include_dir}> | ||
| ${VALHALLA_SOURCE_DIR}/third_party/vtzero/include | ||
| ${VALHALLA_SOURCE_DIR}/third_party/protozero/include) |
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.
Needed to encode the tile info
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.
Basically all the tile rendering process is in this file.
It's not the most sophisticated process in the world.
It basically iterates over all tiles in a bbox (to not render all the tiles)
Grabs historic and live traffic and can also adjust for time
Simplifies/filters out certain geometries at certain zoom levels to prevent too much data in a tile
And encodes and tags the correct tiles
Adding a tile server to Valhalla