A PMTiles kiszolgáló nélküli vektorcsempe-archívum webtérképekhez. Egyetlen fájl tartalmazza az összes csempét, amelyek HTTP-tartomány-lekérdezésekkel érhetők el. Ideális az S3-on, a CloudFlare R2-n vagy a GitHub Pagesen történő tárhelyezéshez csempekiszolgáló nélkül.
Fő jellemzők

A(z) PMTiles formátumról
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.
Milyen program nyitja meg a(z) PMTiles fájlokat
A következő programok és alkalmazások képesek megnyitni, szerkeszteni és kezelni az OSM2CDR-ből exportált PMTiles (.pmtiles) fájlokat:
Format specifications
- Open standard
- 2D only
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- PMTiles single-file vector tile archive. Serverless deployment: drop on S3/CloudFront, range-request playback in MapLibre.
Ki használ PMTiles térképeket
Hogyan exportáljon PMTiles formátumba
Hogyan nyissa meg az exportálás után
- PMTiles Viewer (pmtiles.io) — drag the file into the browser and see the contents right away: bounds, zooms, layers inside the tiles. The file is not uploaded anywhere in the process.
- MapLibre GL JS — add the pmtiles library, register the protocol and point at a source of the form pmtiles://https://your-domain/map.pmtiles, then describe the layers in style.json.
- Static hosting (S3, Cloudflare R2, GitHub Pages, Nginx) — put the file next to the site; make sure the server serves range requests (Accept-Ranges) and CORS headers if the domain is different.
- go-pmtiles — a command-line utility: pmtiles show displays the metadata and zooms, pmtiles convert turns the archive into MBTiles and back.
- QGIS — recent versions open PMTiles as a vector tile source through GDAL; convenient for a quick check that the data is in place.
Népszerű térképek PMTiles formátumban
Szerezzen be PMTiles térképexportokat
Töltsön le professzionális PMTiles térképeket az OpenStreetMap adataiból. Azonnali generálás, bármilyen terület.
Gyakran feltett kérdések
Összehasonlítás más formátumokkal
PMTiles guides and tutorials
Kapcsolódó formátumok
Gyakran együtt exportálva
Related Articles
Download a city's tiles as one package: MBTiles, PMTiles and how to open them
How to download a city's tiles as one file and open it: MBTiles is an SQLite container for offline use and Android (OsmA
formatPMTiles — Single-File Cloud Tile Archive for Serverless Maps (Protomaps)
PMTiles is a single-file Protomaps container for vector/raster tiles with HTTP range request reading: serverless map hos
tutorialWeb Mapping with Leaflet and MapLibre GL JS: Developer Guide
Building interactive web maps: Leaflet vs MapLibre GL JS, tile layers, GeoJSON, custom styles, PMTiles for offline.