MBTiles er et format for lagring av kartfliser i én enkelt SQLite-fil. Kompakt, raskt og praktisk for offline kart og mobilapplikasjoner. Støttes av MapLibre, TileMill, Mapbox og GeoServer.
Hovedfunksjoner

Om MBTiles-formatet
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.
Hvilket program åpner MBTiles-filer
Følgende programmer og applikasjoner kan åpne, redigere og arbeide med MBTiles (SQLite Tiles) (.mbtiles)-filer eksportert fra OSM2CDR:
Format specifications
- Open standard
- 2D only
- Lossless (no quality loss)
- No attributes
- Output: 1 file
- MBTiles SQLite container with rendered raster tiles. Opens in QGIS, OsmAnd, Locus Map, TileServer-GL. For restyleable vector tiles pick MBTiles Vector.
Hvem bruker MBTiles-kart
Slik eksporterer du MBTiles
Slik åpner du filen etter eksporten
- QGIS (free) — drag the .mbtiles into the program window or add it through the Browser panel: the layer will sit as a backdrop under your data.
- TileServer GL or mbview — run a local tile server over the file and get an address of the form /{z}/{x}/{y}.png for Leaflet, MapLibre and OpenLayers.
- mb-util — unpack the container into a plain folder tree z/x/y.png if your hosting can only serve static files: mb-util map.mbtiles tiles/.
- DB Browser for SQLite — look inside: how many tiles were written, what is in metadata, which zoom range actually got built.
- A mobile app with MBTiles support — put the file into its maps folder; that is how an offline backdrop appears on a tablet with no internet.
Populære kart i MBTiles
Få karteksporter i MBTiles (SQLite Tiles)
Last ned profesjonelle MBTiles-kart fra OpenStreetMap. Umiddelbar generering, uansett område.
Ofte stilte spørsmål
Sammenlign med andre formater
Relaterte formater
Ofte eksportert sammen
Related Articles
MBTiles: how to open it on desktop and Android + where to download Russia maps
Got an .mbtiles file and not sure how to open it? On desktop — QGIS, on Android — OsmAnd, Locus Map, OruxMaps. And if yo
formatMBTiles — SQLite Tile Container for Offline Map Apps (Mapbox)
MBTiles is a Mapbox SQLite tile container for vector and raster tiles: the offline-map standard for OSMAnd, Maps.me, Loc
guidePMTiles: Cloud-Native Tile Format for Modern Maps
What is PMTiles, how it differs from MBTiles, usage with MapLibre GL JS and Leaflet. A guide to cloud-native maps.