PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTiles е безсървърен архив с векторни плочки за уеб карти. Един файл съдържа всички плочки, достъпни чрез HTTP range заявки. Идеален за хостинг в S3, CloudFlare R2, GitHub Pages без сървър за плочки.

Експортирайте PMTiles сега ✨ Отворена бета версия — безплатно, без ограничения

Основни характеристики

Един файл — всички плочки
HTTP range заявки
Без сървър — само статичен хостинг
Example PMTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

За формата PMTiles

PMTiles is an archive format in which a whole set of tiles sits in one file with an internal index. The browser does not download it as a whole: it requests the pieces it needs with HTTP range requests, which any static hosting can serve — S3, Cloudflare R2, GitHub Pages, plain Nginx.

Hence the main benefit: the map works without a tile server. There is no service to set up, watch over and pay for — the file simply sits next to the site. For a prototype, an internal dashboard or a project that has to outlive the shutdown of a third-party map service, that makes life noticeably easier.

Inside the archive are MVT vector tiles, that is geometry with attributes, and the appearance is set by a style on the client side. The export builds the pyramid up to zoom 12: beyond that encoding the tiles becomes too expensive, and if you asked for more, we honestly report the limitation and suggest MBTiles. For the same reason the exporter rejects very dense areas straight away rather than after a long wait: a short, clear refusal is better than a stuck job.

Коя програма отваря файлове PMTiles

Следните програми и приложения могат да отварят, редактират и работят с файлове PMTiles (.pmtiles), експортирани от OSM2CDR:

💻MapLibre GL JS 💻Leaflet 💻PMTiles Viewer 🌎QGIS 💻Felt

Format specifications

Кой използва карти в PMTiles

🏗
Безсървърни уеб карти
A web map with no tile server: one file on hosting, no service to maintain.
💻
Статичен хостинг на тайлове
Serving tiles from static storage — S3, Cloudflare R2 or GitHub Pages hand the file over as an ordinary resource.
📊
CDN карти
A map through a CDN: it is cached as a whole, while the client fetches only the pieces it needs.
🎨
Офлайн уеб карти
A self-contained web map that can be placed next to the application and opened without external services.
🗺
Прототипиране
A quick prototype: the map is up in minutes, with no infrastructure and no contracts with tile providers.

Как да експортирате PMTiles

1
Изберете област
Начертайте правоъгълник или полигон на интерактивната карта на osm2cdr.ru
2
Изберете PMTiles
Изберете PMTiles от списъка с 127 налични формата за експорт
3
Експорт
Щракнете върху „Експорт“ и получете файла си .pmtiles за 1-5 минути
4
Изтегляне
Изтеглете готовия файл PMTiles и го отворете в MapLibre GL JS

Как да отворите след експорта

Популярни карти в PMTiles

Free

Получете експорти на карти в PMTiles

Изтеглете професионални карти в PMTiles от OpenStreetMap. Незабавно генериране, всяка област.

Безплатно / експорт
Експортирайте PMTiles сега →

Често задавани въпроси

Нужен ли ми е сървър за плочки за PMTiles?
Кои библиотеки поддържат PMTiles?
Up to which zoom is the pyramid built?
Why was the export refused for a large dense area?
Why is the map empty after I connect it?

Сравнение с други формати

PMTiles guides and tutorials

Свързани формати

Често експортирани заедно

Related Articles