PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

‏PMTiles הוא ארכיון אריחים וקטוריים ללא שרת עבור מפות אינטרנט. קובץ יחיד מכיל את כל האריחים הנגישים באמצעות בקשות HTTP range. אידיאלי לאירוח ב-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

🏗
מפות אינטרנט ללא שרת
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?

השוואה עם פורמטים אחרים

PMTiles guides and tutorials

פורמטים קשורים

מיוצאים יחד לעיתים קרובות

Related Articles