MBTiles 📦

MBTiles (SQLite Tiles)

Open Beta
.mbtiles · application/x-sqlite3

MBTiles är ett format för lagring av kart-tiles i en enda SQLite-fil. Kompakt, snabbt och bekvämt för offline-kartor och mobilapplikationer. Stöds av MapLibre, TileMill, Mapbox och GeoServer.

Exportera MBTiles nu ✨ Öppen beta — gratis, inga begränsningar

Viktiga funktioner

Enskild SQLite-fil
Snabb åtkomst till tiles
Stöd för PNG/JPEG/PBF
Metadata (zoom, gränser, attribution)
Example MBTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Om formatet MBTiles

MBTiles is a Mapbox specification describing how to pack map tiles into a single SQLite file: a tiles table with zoom level, coordinates and the image, plus a metadata table with the name, bounds and zoom range. Instead of thousands of small files on disk you get one portable container understood by QGIS, TileServer GL, MapLibre and mobile apps.

The format is chosen when the map has to work without internet or be served from your own server: an offline layer in a mobile app, a backdrop on a field tablet, a local tile service for an internal portal. Copying and handing over one file is easier than a folder with tens of thousands of images.

The OSM2CDR export delivers raster MBTiles: the selected area is rendered on the server in your style and cut into 256x256 PNG tiles. By default zooms 10 through 16 are built, and the range is set at export time; rows are numbered in TMS order, as the specification requires, and the name, area bounds and zoom bounds are written into metadata. Inside are images, not vector tiles — the style is chosen at export and cannot be changed on the client.

Vilket program öppnar MBTiles-filer

Följande program och applikationer kan öppna, redigera och arbeta med MBTiles (SQLite Tiles)-filer (.mbtiles) som exporterats från OSM2CDR:

🌎QGIS 🗺OsmAnd 💻Locus Map 💻TileServer-GL 💻GeoServer 💻MapLibre

Format specifications

Vem använder MBTiles-kartor

🏗
Offlinekartor
One file with the map of the area on the device — the map opens where there is no signal.
💻
Mobilappar
A ready offline layer for an Android or iOS app: the container goes into the resources and is read locally.
📊
Tile-server
A source for a local tile server (TileServer GL, GeoServer) on an internal network with no internet access.
🎨
Inbäddade kartor
A backdrop for an embedded map on a website or in a kiosk, when external tile providers are unavailable.
🗺
Presentationer
Showing a map quickly at a talk or in the field: the file on a laptop opens in QGIS without internet.

Så exporterar du MBTiles

1
Välj område
Rita en rektangel eller polygon på den interaktiva kartan på osm2cdr.ru
2
Välj MBTiles
Välj MBTiles (SQLite Tiles) från listan med 127 tillgängliga exportformat
3
Exportera
Klicka på Exportera och få din .mbtiles-fil på 1–5 minuter
4
Ladda ner
Ladda ner den färdiga MBTiles-filen och öppna den i QGIS

Så öppnar du filen efter exporten

Populära kartor i MBTiles

Free

Hämta kartexporter i MBTiles (SQLite Tiles)

Ladda ner professionella MBTiles-kartor från OpenStreetMap. Direktgenerering, valfritt område.

Gratis / export
Exportera MBTiles nu →

Vanliga frågor

Varför MBTiles framför enskilda tiles?
Kan jag öppna det i QGIS?
Hur skiljer sig detta från PMTiles?
How is this different from PMTiles?
Which tiles are inside — raster or vector?
Which zoom levels go into the file?
How do I show such a map on a website?

Jämför med andra format

Relaterade format

Ofta exporterade tillsammans

Related Articles