MBTiles 📦

MBTiles (SQLite Tiles)

Open Beta
.mbtiles · application/x-sqlite3

MBTiles là định dạng để lưu trữ các tile bản đồ trong một tệp SQLite duy nhất. Gọn nhẹ, nhanh và tiện lợi cho bản đồ ngoại tuyến và các ứng dụng di động. Được MapLibre, TileMill, Mapbox và GeoServer hỗ trợ.

Xuất MBTiles ngay ✨ Open Beta — miễn phí, không giới hạn

Tính năng chính

Một tệp SQLite duy nhất
Truy cập ô nhanh
Hỗ trợ PNG/JPEG/PBF
Siêu dữ liệu (zoom, phạm vi, attribution)
Example MBTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Giới thiệu về định dạng 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.

Chương trình nào mở được tệp MBTiles

Các chương trình và ứng dụng sau có thể mở, chỉnh sửa và làm việc với tệp MBTiles (SQLite Tiles) (.mbtiles) được xuất từ OSM2CDR:

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

Format specifications

Ai sử dụng bản đồ MBTiles

🏗
Bản đồ ngoại tuyến
One file with the map of the area on the device — the map opens where there is no signal.
💻
Ứng dụng di động
A ready offline layer for an Android or iOS app: the container goes into the resources and is read locally.
📊
Phục vụ tile
A source for a local tile server (TileServer GL, GeoServer) on an internal network with no internet access.
🎨
Bản đồ nhúng
A backdrop for an embedded map on a website or in a kiosk, when external tile providers are unavailable.
🗺
Trình bày
Showing a map quickly at a talk or in the field: the file on a laptop opens in QGIS without internet.

Cách xuất MBTiles

1
Chọn khu vực
Vẽ một hình chữ nhật hoặc đa giác trên bản đồ tương tác tại osm2cdr.ru
2
Chọn MBTiles
Chọn MBTiles (SQLite Tiles) từ danh sách 127 định dạng xuất khả dụng
3
Xuất
Nhấn Xuất và nhận tệp .mbtiles của bạn trong 1-5 phút
4
Tải xuống
Tải tệp MBTiles đã sẵn sàng và mở trong QGIS

Cách mở tệp sau khi xuất

Bản đồ phổ biến ở định dạng MBTiles

Miễn phí

Nhận bản đồ xuất ở định dạng MBTiles (SQLite Tiles)

Tải bản đồ MBTiles chuyên nghiệp từ OpenStreetMap. Tạo tức thì, bất kỳ khu vực nào.

Miễn phí / lần xuất
Xuất MBTiles ngay →

Câu hỏi thường gặp

Vì sao nên dùng MBTiles thay vì các ô riêng lẻ?
Tôi có thể mở trong QGIS không?
Định dạng này khác PMTiles như thế nào?
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?

So sánh với các định dạng khác

Định dạng liên quan

Thường được xuất cùng nhau

Related Articles