PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTiles یک بایگانی بدون سرور از کاشی‌های برداری برای نقشه‌های وب است. یک فایل واحد حاوی همهٔ کاشی‌هاست که از طریق درخواست‌های بازهٔ HTTP در دسترس‌اند. ایده‌آل برای میزبانی روی S3، CloudFlare R2 و GitHub Pages بدون سرور کاشی.

همین حالا PMTiles را خروجی بگیرید ✨ بتای باز — رایگان، بدون محدودیت

ویژگی‌های کلیدی

یک فایل واحد — همهٔ کاشی‌ها
درخواست‌های بازهٔ HTTP
بدون سرور — تنها میزبانی ایستا
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 را از فهرست ۱۲۷ قالب خروجی موجود انتخاب کنید
3
خروجی
روی خروجی کلیک کنید و فایل .pmtiles خود را در ۱ تا ۵ دقیقه دریافت کنید
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