mapbox / mapbox/mbtiles-spec

Add tile size to metadata

Open
#63 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
671
Forks
100
PR merge metrics
No merged PRs in 30d

Description

In a future version, a tile size metadata option should be considered. Mapbox vector tiles are 512 square pixels in size, but raster tiles traditionally have been 256 square pixels, but in the last couple years, some have started moving to larger sizes. When it comes to storing the tiles in SQLite, the tile size makes no difference, but when rendering data, the tile size will often be needed. Adding an optional column to the metadata table for table size would address this. There is a similar request for the TileJSON spec here: https://github.com/mapbox/tilejson-spec/issues/26

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the MBTiles specification's metadata table and the related TileJSON request linked in the issue. Determine the scope and compatibility requirements for an optional tile-size metadata field; done means the specification clearly records the agreed field and its semantics.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite
Domain
databases, documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.