Skip to content

Conversation

@boonboonsiri
Copy link

@boonboonsiri boonboonsiri commented Sep 5, 2025

Adding a tile server to Valhalla

image

@boonboonsiri boonboonsiri changed the base branch from traffic to boon/valhalla-cleanup September 5, 2025 19:09
@boonboonsiri boonboonsiri changed the title Boon/valhalla map tiles Valhalla Map Tiles Valhalla Source Oct 31, 2025
…ixes, dont render edges with no historic or live traffic
@boonboonsiri boonboonsiri changed the base branch from boon/valhalla-cleanup to traffic October 31, 2025 23:17
$<$<BOOL:${WIN32}>:${dirent_include_dir}>)
$<$<BOOL:${WIN32}>:${dirent_include_dir}>
${VALHALLA_SOURCE_DIR}/third_party/vtzero/include
${VALHALLA_SOURCE_DIR}/third_party/protozero/include)
Copy link
Author

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

Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant