PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTilesは、Web地図向けのサーバーレスなベクタータイルアーカイブです。単一のファイルに、HTTPレンジリクエストでアクセスできるすべてのタイルが含まれます。タイルサーバーなしでS3、CloudFlare R2、GitHub Pagesにホスティングするのに最適です。

今すぐPMTilesをエクスポート ✨ オープンベータ — 無料、制限なし

主な機能

1つのファイルに全タイル
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ファイルを開けるプログラム

次のプログラムおよびアプリケーションは、OSM2CDRからエクスポートしたPMTiles(.pmtiles)ファイルを開き、編集し、利用できます:

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

Format specifications

PMTiles地図を利用するユーザー

🏗
サーバーレス Web マップ
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.
🎨
オフライン Web マップ
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を選択
利用可能な127種類のエクスポートフォーマットの一覧からPMTilesを選択します
3
エクスポート
「エクスポート」をクリックすると、1〜5分で.pmtilesファイルを受け取れます
4
ダウンロード
完成したPMTilesファイルをダウンロードし、MapLibre GL JSで開きます

エクスポート後の開き方

PMTilesの人気地図

フリー

PMTilesの地図エクスポートを入手

OpenStreetMapからプロフェッショナルなPMTiles地図をダウンロード。即時生成、任意の範囲に対応。

無料 /エクスポート
今すぐ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