PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTiles on serverivaba vektorpaanide arhiiv veebikaartide jaoks. Üks fail sisaldab kõiki paane, mis on juurdepääsetavad HTTP range-päringute kaudu. Ideaalne majutamiseks platvormidel S3, CloudFlare R2 ja GitHub Pages ilma paaniserverita.

Ekspordi PMTiles kohe ✨ Avatud beeta — tasuta, ilma piiranguteta

Põhiomadused

Üks fail — kõik paanid
HTTP range-päringud
Serverit pole — ainult staatiline majutus
Example PMTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Vormingu PMTiles kohta

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.

Milline programm avab PMTiles-faile

Järgmised programmid ja rakendused suudavad avada, redigeerida ning töödelda OSM2CDR-ist eksporditud PMTiles (.pmtiles) faile:

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

Format specifications

Kes kasutab PMTiles-kaarte

🏗
Serverivabad veebikaardid
A web map with no tile server: one file on hosting, no service to maintain.
💻
Staatiline tiilide hostimine
Serving tiles from static storage — S3, Cloudflare R2 or GitHub Pages hand the file over as an ordinary resource.
📊
CDN-kaardid
A map through a CDN: it is cached as a whole, while the client fetches only the pieces it needs.
🎨
Võrguühenduseta veebikaardid
A self-contained web map that can be placed next to the application and opened without external services.
🗺
Prototüüpimine
A quick prototype: the map is up in minutes, with no infrastructure and no contracts with tile providers.

Kuidas eksportida vormingusse PMTiles

1
Vali ala
Joonista interaktiivsel kaardil aadressil osm2cdr.ru ristkülik või polügon
2
Vali PMTiles
Vali 127 saadaoleva eksportvormingu hulgast PMTiles
3
Ekspordi
Klõpsa „Ekspordi“ ja saa oma .pmtiles-fail 1–5 minutiga
4
Laadi alla
Laadi alla valmis PMTiles-fail ja ava see programmis MapLibre GL JS

Kuidas pärast eksporti avada

Populaarsed kaardid vormingus PMTiles

Free

Hangi kaardiekspordid vormingus PMTiles

Laadi alla professionaalsed PMTiles-kaardid OpenStreetMapi andmetest. Kohene genereerimine, mis tahes ala.

Tasuta / eksport
Ekspordi PMTiles kohe →

Korduma kippuvad küsimused

Kas PMTilesi jaoks on vaja paaniserverit?
Millised teegid PMTilesit toetavad?
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?

Võrdle teiste vormingutega

PMTiles guides and tutorials

Seotud vormingud

Sageli koos eksporditavad vormingud

Related Articles