PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTiles on palvelimeton vektorilaatta-arkisto verkkokartoille. Yksittäinen tiedosto sisältää kaikki laatat, joihin pääsee HTTP-aluekyselyiden kautta. Ihanteellinen isännöitäväksi S3:ssa, CloudFlare R2:ssa tai GitHub Pagesissa ilman laattapalvelinta.

Vie PMTiles nyt ✨ Avoin beta — ilmainen, ei rajoituksia

Keskeiset ominaisuudet

Yksi tiedosto – kaikki laatat
HTTP-aluekyselyt
Ei palvelinta – vain staattinen isännöinti
Example PMTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Tietoa PMTiles-muodosta

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.

Mikä ohjelma avaa PMTiles-tiedostot

Seuraavat ohjelmat ja sovellukset voivat avata ja muokata OSM2CDR:stä vietyjä PMTiles (.pmtiles) -tiedostoja sekä työskennellä niiden parissa:

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

Format specifications

Ketkä käyttävät PMTiles-karttoja

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

Näin viet kartan muotoon PMTiles

1
Valitse alue
Piirrä suorakulmio tai monikulmio interaktiiviselle kartalle osoitteessa osm2cdr.ru
2
Valitse PMTiles
Valitse PMTiles 127 saatavilla olevan vientimuodon luettelosta
3
Vie
Napsauta Vie ja saat .pmtiles-tiedostosi 1–5 minuutissa
4
Lataa
Lataa valmis PMTiles-tiedosto ja avaa se ohjelmassa MapLibre GL JS

Kuinka avata viennin jälkeen

Suositut PMTiles-kartat

Ilmainen

Hanki PMTiles -karttavientejä

Lataa ammattilaistason PMTiles-karttoja OpenStreetMapista. Luodaan välittömästi mistä tahansa alueesta.

Ilmainen / vienti
Vie PMTiles nyt →

Usein kysytyt kysymykset

Tarvitsenko laattapalvelimen PMTilesiä varten?
Mitkä kirjastot tukevat PMTilesiä?
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?

Vertaa muihin muotoihin

Liittyvät muodot

Usein viedään yhdessä

Related Articles