PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTiles és un arxiu de tessel·les vectorials sense servidor per a mapes web. Un únic fitxer conté totes les tessel·les, accessibles mitjançant sol·licituds HTTP per rangs. Ideal per a l'allotjament a S3, CloudFlare R2 i GitHub Pages sense un servidor de tessel·les.

Exporta PMTiles ara ✨ Beta oberta — gratuït, sense límits

Característiques clau

Un sol fitxer: totes les tessel·les
Peticions HTTP de rang
Sense servidor: només allotjament estàtic
Example PMTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Sobre el format 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.

Quin programa obre els fitxers PMTiles

Els programes i les aplicacions següents poden obrir, editar i treballar amb fitxers PMTiles (.pmtiles) exportats des d'OSM2CDR:

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

Format specifications

Qui utilitza els mapes PMTiles

🏗
Mapes web sense servidor
A web map with no tile server: one file on hosting, no service to maintain.
💻
Allotjament estàtic de tessel·les
Serving tiles from static storage — S3, Cloudflare R2 or GitHub Pages hand the file over as an ordinary resource.
📊
Mapes per CDN
A map through a CDN: it is cached as a whole, while the client fetches only the pieces it needs.
🎨
Mapes web fora de línia
A self-contained web map that can be placed next to the application and opened without external services.
🗺
Prototipatge
A quick prototype: the map is up in minutes, with no infrastructure and no contracts with tile providers.

Com exportar PMTiles

1
Selecciona l'àrea
Dibuixa un rectangle o un polígon al mapa interactiu d'osm2cdr.ru
2
Tria PMTiles
Tria PMTiles de la llista de 127 formats d'exportació disponibles
3
Exporta
Fes clic a Exporta i rep el fitxer .pmtiles en 1-5 minuts
4
Descarrega
Descarrega el fitxer PMTiles llest i obre'l amb MapLibre GL JS

Com obrir el fitxer després de l'exportació

Mapes populars en PMTiles

Free

Obtingues exportacions de mapes PMTiles

Descarrega mapes PMTiles professionals d'OpenStreetMap. Generació instantània, qualsevol àrea.

Gratuït / exportació
Exporta PMTiles ara →

Preguntes freqüents

Necessito un servidor de tessel·les per a PMTiles?
Quines biblioteques admeten 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?

Compara amb altres formats

PMTiles guides and tutorials

Formats relacionats

Sovint exportats junts

Related Articles