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

Бесплатно

Преузмите извозе карата у формату 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