PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTiles — безсерверний архів векторних тайлів для вебкарт. Один файл містить усі тайли, доступні через HTTP range-запити. Ідеальний для розміщення на S3, CloudFlare R2, GitHub Pages без сервера тайлів.

Експортувати PMTiles зараз ✨ Відкрита бета — безкоштовно, без обмежень

Ключові можливості

Один файл — усі тайли
HTTP range requests
Без сервера — лише статичний хостинг
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?

Порівняння з іншими форматами

Пов’язані формати

Часто експортують разом

Related Articles