MBTiles

From OpenStreetMap Wiki
Jump to navigation Jump to search

MBTiles is a file format for storing map tiles in a single file. It is, technically, a SQLite database. Latest format specification as of Feb 2018 is 1.3.

Serving MBTiles

Since the only qualification for implementing languages is basic SQLite support, the logic is easily ported. A list of implementations is maintained by the project.

Data Download

MBTiles with OSM data for analysis are available from https://osmlab.github.io/osm-qa-tiles/ , these are provided by the Humanitarian OpenStreetMap Team and updated weekly. The planet, as well country extracts are available. These tiles were initially provided by Mapbox and made available daily.

The BBBike extract service offers mbtiles for an area of your choosing.

Generating MBTiles

Vespucci's documentation page Generating MBTiles files with custom imagery has a list of tools and resources for creating MBTiles files with custom data.

QGis can also generate MBtiles: menu View > Panels > Processing Toolbox > Raster tools > Generate XYZ tiles (MBTiles)

OpenSeaMap

You can get OpenSeaMap offline-charts in MBTiles-format:

Usable for:

Navi-Programm Website
GPXSee GPXSee.org
Locus
OruxMaps
OpenCPN OpenCPN.org
WinNav WinNav.de

Look and Feel

OpenSeaMap
auf Samsung, mit Locus Pro

Offline-Karten

Folgende Karten sind im Format MBTiles verfügbar:

Revier Download Grösse Abdeckung
Adria Adria 0,5 GB The area covered by the OpenSeaMap chart bundle 'Adriatic Sea' as of may 2016.
Biskaya Biskaya 0,5 GB The area covered by the OpenSeaMap chart bundle 'Gulf of Biscay' as of may 2016.
Englischer Kanal Englischer Kanal 0,5 GB The area covered by the OpenSeaMap chart bundle 'British Channel' as of june 2016.
Magellanstrasse Magellanstrasse 0,1 GB The area covered by the OpenSeaMap chart bundle 'Magellan Strait' as of june 2016.
Mittelmeer Ost Mittelmeer Ost 1,2 GB The area covered by the OpenSeaMap chart bundle 'Mediterranean Sea East' as of may 2016.
Mittelmeer West Mittelmeer West 1,0 GB The area covered by the OpenSeaMap chart bundle 'Mediterranean Sea West' as of may 2016.
Nordsee Nordsee 1,4 GB The area covered by the OpenSeaMap chart bundle 'NorthSea' as of may 2016.
Ostsee Ostsee 1,2 GB The area covered by the OpenSeaMap chart bundle 'Baltic Sea' as of june 2016.

Other uses

You can bring a layer into JOSM from an MBTiles database using JOSM/Plugins/Mbtiles

See also