PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTiles er þjónalaust vigurflísasafn fyrir vefkort. Ein skrá inniheldur allar flísar sem nálgast má gegnum HTTP range-beiðnir. Tilvalið fyrir hýsingu á S3, CloudFlare R2, GitHub Pages án flísaþjóns.

Flytja út PMTiles núna ✨ Opin beta-prófun — ókeypis, engar takmarkanir

Helstu eiginleikar

Ein skrá — allar flísar
HTTP range-beiðnir
Enginn þjónn — aðeins kyrr hýsing
Example PMTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Um PMTiles-sniðið

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.

Hvaða forrit opnar PMTiles-skrár

Eftirfarandi forrit geta opnað, breytt og unnið með PMTiles (.pmtiles) skrár sem fluttar eru út úr OSM2CDR:

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

Format specifications

Hverjir nota PMTiles-kort

🏗
Þjónalaus vefkort
A web map with no tile server: one file on hosting, no service to maintain.
💻
Kyrr flísahýsing
Serving tiles from static storage — S3, Cloudflare R2 or GitHub Pages hand the file over as an ordinary resource.
📊
CDN-kort
A map through a CDN: it is cached as a whole, while the client fetches only the pieces it needs.
🎨
Ótengd vefkort
A self-contained web map that can be placed next to the application and opened without external services.
🗺
Frumgerðasmíði
A quick prototype: the map is up in minutes, with no infrastructure and no contracts with tile providers.

Hvernig á að flytja út PMTiles

1
Veldu svæði
Teiknaðu rétthyrning eða marghyrning á gagnvirka kortinu á osm2cdr.ru
2
Veldu PMTiles
Veldu PMTiles úr listanum yfir 127 fáanleg útflutningssnið
3
Flytja út
Smelltu á Flytja út og fáðu .pmtiles-skrána þína eftir 1-5 mínútur
4
Sækja
Sæktu tilbúnu PMTiles-skrána og opnaðu hana í MapLibre GL JS

Hvernig á að opna eftir útflutning

Vinsæl kort í PMTiles

Free

Fáðu kortaútflutning í PMTiles

Sæktu fagleg PMTiles-kort úr OpenStreetMap. Tafarlaus kortagerð, hvaða svæði sem er.

Ókeypis / útflutningur
Flytja út PMTiles núna →

Algengar spurningar

Þarf ég flísaþjón fyrir PMTiles?
Hvaða forritasöfn styðja 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?

Berðu saman við önnur snið

PMTiles guides and tutorials

Tengd snið

Oft flutt út saman

Related Articles