mapbox / mapbox/mbtiles-spec

Sharing a single file between Mbtiles and Osmand users

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

Description

I would like to publish a single set of tiles which can be used in different programs.
Structure of mbtiles database is very similar to osmand (https://osmand.net/docs/technical/osmand-file-formats/osmand-sqlite/). I believe I can provide both mbtiles `metadata` and osmand `info` tables in the single database. Providing `tiles` table looks more difficult: unfortunately it has same name in both formats (not possible to create an sql view), but different names of fields. Having extra fields in this table breaks the mbtiles specification (I can see that it does not work in Orux app). It would be nice to have a solution for this problem.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the MBTiles specification with the linked OsmAnd SQLite file format, focusing on the metadata, info, and tiles table schemas. Determine whether a standards-compatible sharing solution is possible without breaking existing readers; done would be an agreed solution documented in the specification.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite
Domain
databases
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.