mapbox / mapbox/tippecanoe

Updating a pbf tile

Open
#435 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.1k
Forks
430
PR merge metrics
No merged PRs in 30d

Description

Hi!

For rendering my map, I build my mbtiles and then extract the pbf tiles(by enumerating and getting tiles from the source) from my mbtiles file and serve the pbf tiles from my server.

I am building an update functionality for my map. I understand that I can rebuild my mbtiles and recreate my pbf tiles to update my map. However, my need requires me to update only a block of data, so i will not be required to update the whole map.

Is there a way to update only one pbf tile, instead of updating the whole mbtiles? I see that the x,y,z of the pbf tiles that are extracted differ sometimes when i extract them from my updated mbtiles files. Why is that? Is that expected?

Thanks :)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. First clarify the intended tile update and coordinate behavior, then inspect the existing MBTiles and PBF generation paths; done should be a documented, reproducible answer or an explicitly scoped implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.