PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTiles è un archivio serverless di tile vettoriali per mappe web. Un unico file contiene tutti i tile accessibili tramite richieste HTTP Range. Ideale per l'hosting su S3, CloudFlare R2, GitHub Pages senza un server di tile.

Esporta PMTiles ora ✨ Open Beta — gratis, senza limiti

Caratteristiche principali

Un solo file: tutti i tile
Richieste HTTP range
Nessun server: solo hosting statico
Example PMTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Informazioni sul formato 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.

Quale programma apre i file PMTiles

I seguenti programmi e applicazioni possono aprire, modificare ed elaborare i file PMTiles (.pmtiles) esportati da OSM2CDR:

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

Format specifications

Chi usa le mappe PMTiles

🏗
Mappe web serverless
A web map with no tile server: one file on hosting, no service to maintain.
💻
Hosting statico di tile
Serving tiles from static storage — S3, Cloudflare R2 or GitHub Pages hand the file over as an ordinary resource.
📊
Mappe su CDN
A map through a CDN: it is cached as a whole, while the client fetches only the pieces it needs.
🎨
Mappe web offline
A self-contained web map that can be placed next to the application and opened without external services.
🗺
Prototipazione
A quick prototype: the map is up in minutes, with no infrastructure and no contracts with tile providers.

Come esportare in PMTiles

1
Seleziona l'area
Disegna un rettangolo o un poligono sulla mappa interattiva su osm2cdr.ru
2
Scegli PMTiles
Seleziona PMTiles dall'elenco dei 127 formati di esportazione disponibili
3
Esporta
Fai clic su Esporta e ricevi il file .pmtiles in 1-5 minuti
4
Scarica
Scarica il file PMTiles pronto e aprilo in MapLibre GL JS

Come aprire il file dopo l'esportazione

Mappe popolari in PMTiles

Free

Ottieni esportazioni di mappe in PMTiles

Scarica mappe PMTiles professionali da OpenStreetMap. Generazione istantanea, qualsiasi area.

Gratis / esportazione
Esporta PMTiles ora →

Domande frequenti

Serve un tile server per PMTiles?
Quali librerie supportano 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?

Confronta con altri formati

PMTiles guides and tutorials

Formati correlati

Esportati spesso insieme

Related Articles