PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTiles je bezposlužiteljska arhiva vektorskih pločica za web karte. Jedna datoteka sadrži sve pločice dostupne putem HTTP range zahtjeva. Idealan za hosting na S3, CloudFlare R2, GitHub Pages bez poslužitelja pločica.

Izvezi PMTiles sada ✨ Otvorena beta — besplatno, bez ograničenja

Ključne značajke

Jedna datoteka — sve pločice
HTTP range zahtjevi
Bez poslužitelja — samo statički hosting
Example PMTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

O formatu 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.

Koji program otvara datoteke PMTiles

Sljedeći programi i aplikacije mogu otvoriti, uređivati i raditi s datotekama PMTiles (.pmtiles) izvezenima iz OSM2CDR-a:

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

Format specifications

Tko koristi karte PMTiles

🏗
Bezposlužiteljske web karte
A web map with no tile server: one file on hosting, no service to maintain.
💻
Statički hosting pločica
Serving tiles from static storage — S3, Cloudflare R2 or GitHub Pages hand the file over as an ordinary resource.
📊
CDN karte
A map through a CDN: it is cached as a whole, while the client fetches only the pieces it needs.
🎨
Izvanmrežne web karte
A self-contained web map that can be placed next to the application and opened without external services.
🗺
Izrada prototipa
A quick prototype: the map is up in minutes, with no infrastructure and no contracts with tile providers.

Kako izvesti PMTiles

1
Odaberite područje
Nacrtajte pravokutnik ili poligon na interaktivnoj karti na osm2cdr.ru
2
Odaberite PMTiles
Odaberite PMTiles s popisa od 127 dostupnih formata izvoza
3
Izvoz
Kliknite Izvoz i primite svoju .pmtiles datoteku za 1 – 5 minuta
4
Preuzimanje
Preuzmite gotovu datoteku PMTiles i otvorite je u MapLibre GL JS

Kako otvoriti nakon izvoza

Popularne karte u formatu PMTiles

Besplatno

Nabavite izvoze karata u formatu PMTiles

Preuzmite profesionalne karte u formatu PMTiles iz OpenStreetMapa. Trenutno generiranje, bilo koje područje.

Besplatno / izvoz
Izvezi PMTiles sada →

Često postavljana pitanja

Trebam li poslužitelj pločica za PMTiles?
Koje biblioteke podržavaju 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?

Usporedba s drugim formatima

PMTiles guides and tutorials

Povezani formati

Često se izvoze zajedno

Related Articles