Map Tile Database
Maps & GPSMBTiles stores map tiles/metadata in SQLite. Raster and vector contents require appropriate support and may not preserve full editable source features.
- Main use
- Store tiles for offline maps
- Data type
- Binary data
All sections, questions and sources
Content reviewed: · Editor:Kai
Opening steps
Choose your environment or purpose to see its steps.
Menu labels and support vary by app, OS and version. Preserve the original before making changes.
Troubleshooting by symptom
- Blank: check coverage and zoom range.
- Not readable as imagery: check vector content.
- Missing colors/labels: inspect style/assets.
- Wrong location: check viewer coordinate/tile interpretation.
MBTiles → supported GIS map export
- Use the appropriate driver and export the needed extent separately.
- Reopen the output and check it against the preservation points in this guide before handoff.
Tiling may discard or simplify information that cannot be recovered.
Raster versus vector
A readable SQLite database is not enough: raster tiles are images while vectors need map rendering.
Source for these steps:Mapbox · MBTiles specification / GDAL · MBTiles driver / GDAL · Mapbox Vector Tiles driver
Worked example: checks before handoff
Example: test field-map coverage, labels and several zooms offline.
Source for these steps:Mapbox · MBTiles specification / GDAL · MBTiles driver / GDAL · Mapbox Vector Tiles driver
Related-format differences
| Format / method | Purpose and preserved information |
|---|---|
| .mbtiles | Store tiles for offline maps |
| GeoPackage / PBF | Another spatial database / binary encoding with multiple uses. |
| MBTiles → supported GIS map export | Tiling may discard or simplify information that cannot be recovered. |
Handling and security
Check licensing, redistribution terms and location privacy.
Questions and answers
Can any SQLite editor edit it?
Tile consistency matters; avoid casual manual edits.
Always a world map?
Coverage varies by file.
Same as PBF?
MBTiles is a container; PBF can encode its vector tiles.
Format facts: name, steward and MIME type
- Formal name
- Map Tile Database
- Steward / specification
- Mapbox
- MIME type
- Consult the producer or delivery system. The extension alone does not establish a MIME type.
Primary and official sources
- StandardMBTiles specification
SQLite-based tiled-map storage specification.
Mapbox · Link checked: - Software documentationMBTiles driver
Raster/vector tile handling.
GDAL · Link checked: - Software documentationMapbox Vector Tiles driver
PBF vector tiles and coordinate context.
GDAL · Link checked: