PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

Το PMTiles είναι ένα αρχείο διανυσματικών πλακιδίων χωρίς διακομιστή για χάρτες ιστού. Ένα ενιαίο αρχείο περιέχει όλα τα πλακίδια, προσβάσιμα μέσω αιτημάτων εύρους HTTP. Ιδανικό για φιλοξενία σε S3, CloudFlare R2, GitHub Pages χωρίς διακομιστή πλακιδίων.

Εξαγωγή PMTiles τώρα ✨ Open Beta — δωρεάν, χωρίς όρια

Βασικά χαρακτηριστικά

Ενιαίο αρχείο — όλα τα πλακίδια
Αιτήματα HTTP range
Χωρίς διακομιστή — μόνο στατική φιλοξενία
Example PMTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Σχετικά με τη μορφή PMTiles

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.

Ποιο πρόγραμμα ανοίγει αρχεία PMTiles

Τα ακόλουθα προγράμματα και εφαρμογές μπορούν να ανοίξουν, να επεξεργαστούν και να εργαστούν με αρχεία PMTiles (.pmtiles) που έχουν εξαχθεί από το OSM2CDR:

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

Format specifications

Ποιοι χρησιμοποιούν χάρτες PMTiles

🏗
Διαδικτυακοί χάρτες serverless
A web map with no tile server: one file on hosting, no service to maintain.
💻
Στατική φιλοξενία πλακιδίων
Serving tiles from static storage — S3, Cloudflare R2 or GitHub Pages hand the file over as an ordinary resource.
📊
Χάρτες μέσω CDN
A map through a CDN: it is cached as a whole, while the client fetches only the pieces it needs.
🎨
Διαδικτυακοί χάρτες εκτός σύνδεσης
A self-contained web map that can be placed next to the application and opened without external services.
🗺
Δημιουργία πρωτοτύπων
A quick prototype: the map is up in minutes, with no infrastructure and no contracts with tile providers.

Πώς να εξαγάγετε PMTiles

1
Επιλογή περιοχής
Σχεδιάστε ένα ορθογώνιο ή πολύγωνο στον διαδραστικό χάρτη στο osm2cdr.ru
2
Επιλέξτε PMTiles
Επιλέξτε PMTiles από τη λίστα με τις 127 διαθέσιμες μορφές εξαγωγής
3
Εξαγωγή
Κάντε κλικ στο «Εξαγωγή» και λάβετε το αρχείο σας .pmtiles σε 1-5 λεπτά
4
Λήψη
Κατεβάστε το έτοιμο αρχείο PMTiles και ανοίξτε το στο MapLibre GL JS

Πώς να το ανοίξετε μετά την εξαγωγή

Δημοφιλείς χάρτες σε PMTiles

Δωρεάν

Αποκτήστε εξαγωγές χαρτών PMTiles

Κατεβάστε επαγγελματικούς χάρτες PMTiles από το OpenStreetMap. Άμεση δημιουργία, για οποιαδήποτε περιοχή.

Δωρεάν / εξαγωγή
Εξαγωγή PMTiles τώρα →

Συχνές ερωτήσεις

Χρειάζομαι διακομιστή πλακιδίων για το PMTiles;
Ποιες βιβλιοθήκες υποστηρίζουν 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?

Σύγκριση με άλλες μορφές

Σχετικές μορφές

Συχνά εξάγονται μαζί

Related Articles