PMTiles 🗺

PMTiles

Price before payment
.pmtiles · application/vnd.pmtiles

PMTiles ir bezservera vektoru elementu arhīvs tīmekļa kartēm. Viens fails satur visus elementus, kas pieejami, izmantojot HTTP diapazona pieprasījumus. Ideāli piemērots izvietošanai S3, CloudFlare R2, GitHub Pages bez elementu servera.

OpenStreetMap data as of 26 October 2026 · 22 days ago

Eksportēt PMTiles tūlīt ✨ Atklātā beta versija — bezmaksas, bez ierobežojumiem

Galvenās iespējas

✓Viens fails — visi elementi
✓HTTP diapazona pieprasījumi
✓Bez servera — tikai statiska mitināšana
Example PMTiles export (city centre, 1x0.5 km)
Example: city centre, ~1×0.5 km, medium detail

Par PMTiles formātu

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.

Kura programma atver PMTiles failus

Tālāk norādītās programmas un lietotnes var atvērt, rediģēt un strādāt ar PMTiles (.pmtiles) failiem, kas eksportēti no OSM2CDR:

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

Format specifications

Kas izmanto PMTiles kartes

🏗
Bezservera tīmekļa kartes
A web map with no tile server: one file on hosting, no service to maintain.
💻
Statiska elementu mitināšana
Serving tiles from static storage — S3, Cloudflare R2 or GitHub Pages hand the file over as an ordinary resource.
📊
CDN kartes
A map through a CDN: it is cached as a whole, while the client fetches only the pieces it needs.
🎨
Bezsaistes tīmekļa kartes
A self-contained web map that can be placed next to the application and opened without external services.
🗺
Prototipēšana
A quick prototype: the map is up without extra setup, with no infrastructure and no contracts with tile providers.

Kā eksportēt PMTiles

1
Atlasiet apgabalu
Uzzīmējiet taisnstūri vai daudzstūri interaktīvajā kartē vietnē osm2cdr.ru
2
Izvēlieties PMTiles
Atlasiet PMTiles no 127 pieejamo eksporta formātu saraksta
3
Eksportēt
Noklikšķiniet uz Eksportēt un saņemiet savu .pmtiles failu 1–5 minūtēs
4
Lejupielādēt
Lejupielādējiet gatavo PMTiles failu un atveriet to programmā MapLibre GL JS

Kā atvērt pēc eksporta

Free

Eksportējiet kartes formātā PMTiles

Lejupielādējiet profesionālas PMTiles kartes no OpenStreetMap. Tūlītēja ģenerēšana, jebkurš apgabals.

Bezmaksas / eksports
Eksportēt PMTiles tūlīt →

Biežāk uzdotie jautājumi

Vai PMTiles ir nepieciešams elementu serveris? ▼
Kuras bibliotēkas atbalsta 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? ▼

Salīdziniet ar citiem formātiem

Saistītie formāti

Bieži eksportē kopā

Related Articles