MBTiles er et format til lagring af kortfliser i en enkelt SQLite-fil. Kompakt, hurtigt og praktisk til offline-kort og mobilapplikationer. Understøttes af MapLibre, TileMill, Mapbox og GeoServer.
Vigtigste funktioner

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.
Hvilket program åbner MBTiles-filer
Følgende programmer og applikationer kan åbne, redigere og arbejde med MBTiles (SQLite Tiles)-filer (.mbtiles), der er eksporteret 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 bruger MBTiles-kort
Sådan eksporterer du MBTiles
Sådan åbner du filen efter 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 kort i MBTiles
Få korteksport i MBTiles (SQLite Tiles)
Download professionelle MBTiles-kort fra OpenStreetMap. Øjeblikkelig generering, ethvert område.
Ofte stillede spørgsmål
Sammenlign med andre formater
Relaterede formater
Ofte eksporteret 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.