laodev Logo
laodev

PMTiles Review: Serverless Map Tiles & Cloud Storage Guide

Review & Official Guide Spatial Databases & Backend Official Licensed Software Guide
PMTiles Review: Serverless Map Tiles & Cloud Storage Guide 1 / 2

PMTiles (created by Brandon Liu / Protomaps and released under the BSD-3-Clause open-source license) is a cloud-native, single-file archive format and CLI toolkit (`go-pmtiles`) for storing and serving tiled vector (MVT) and raster (PNG, JPEG, WebP, AVIF) map pyramids. Designed for web GIS developers, cartographers, and cloud mapping architectures, PMTiles eliminates dedicated tile servers and millions of tiny files—allowing MapLibre GL JS, Leaflet, OpenLayers, and QGIS to stream map tiles directly from standard static object storage (AWS S3, Cloudflare R2, Google Cloud Storage, or Nginx/Apache) via HTTP Range Requests.

1. In-Depth Review: Why Web GIS & Cloud Mapping Teams Use PMTiles

  • Zero-Server Static Map Hosting on Object Storage: Stores an entire global or regional zoom pyramid inside a single `.pmtiles` file on S3, Cloudflare R2, or standard web hosting—requiring no Node.js, Python, or database server for static basemaps and overlays.
  • Spatial Hilbert-Curve Indexing for Fast HTTP Range Requests: Orders tile directories along a Hilbert space-filling curve so clients fetch only the exact byte ranges needed for the current map viewport in 1–2 HTTP requests.
  • Seamless MBTiles Conversion & MapLibre / QGIS Integration: Converts existing `.mbtiles` archives cleanly with `pmtiles convert` and integrates natively with MapLibre GL JS (`pmtiles://` protocol), OpenLayers, Leaflet, Martin, and QGIS.

2. Key Features & Capabilities

  • Single-File Vector & Raster Tile Pyramid: Packages Mapbox Vector Tiles (MVT) or raster tiles (WebP, PNG, JPEG, AVIF) into one portable, cloud-friendly `.pmtiles` archive.
  • HTTP Range Request Streaming: Reads directory headers and tile payloads directly from static HTTP/HTTPS servers supporting `Range` headers.
  • `go-pmtiles` Cross-Platform CLI Toolkit: Convert `.mbtiles` to `.pmtiles`, extract regional bounding-box subsets (`pmtiles extract`), verify archive integrity (`pmtiles verify`), and run a local dev server (`pmtiles serve`).
  • Native Client & Server Ecosystem Support: Works out of the box with `pmtiles.js` in MapLibre GL JS, Leaflet, OpenLayers, Martin tile server, Tippecanoe, GDAL, and QGIS.
  • Compact Storage & Built-In Deduplication: Deduplicates identical tiles (such as solid ocean or empty tiles) automatically to minimize file size and storage costs.
  • 100% Free & Open-Source (BSD-3-Clause): Free to use, self-host, and deploy in personal, government, and commercial web GIS platforms.PMTiles Review: Serverless Map Tiles & Cloud Storage Guide
  1. Official Links: Free Trial, Free / Education & Pricing

Always download `go-pmtiles` binaries, JavaScript libraries, and specification docs directly from official Protomaps portals:

4. Step-by-Step Installation Guide

  1. Check Operating System & Storage Requirements: Confirm your Linux, macOS, or Windows (64-bit) workstation has sufficient SSD space for your `.mbtiles` / `.pmtiles` map archives.
  2. Download the Official `go-pmtiles` Binary: Visit https://github.com/protomaps/go-pmtiles/releases and download the compiled archive for your OS (`Linux`, `macOS`, or `Windows`).
  3. Extract & Add `pmtiles` to Your System PATH: Extract the `pmtiles` executable (`pmtiles.exe` on Windows) into a folder in your system `PATH` and verify by running `pmtiles --version` in your terminal.
  4. Optional JavaScript Client Setup: For web map integration, install `pmtiles` via npm (`npm install pmtiles`) or include the official `pmtiles` script alongside MapLibre GL JS or Leaflet.

5. How to Use PMTiles: Beginner Workflow

  1. Generate or Prepare an MBTiles / Vector Dataset: Create vector tiles using Tippecanoe, Tilemaker, or GDAL/QGIS (`Generate XYZ Tiles (MBTiles)`), or download an existing `.mbtiles` file.
  2. Convert `.mbtiles` to `.pmtiles`: Run `pmtiles convert input.mbtiles output.pmtiles` in your terminal to build a Hilbert-indexed `.pmtiles` archive with tile deduplication.
  3. Inspect Metadata & Preview Locally: Run `pmtiles show output.pmtiles` to verify zoom levels, bounds, and layer names, or run `pmtiles serve .` to test tiles locally over HTTP.
  4. Upload to Static Hosting or Object Storage: Upload `output.pmtiles` to Cloudflare R2, AWS S3, or your web server with CORS (`Access-Control-Allow-Origin`) and `Range` requests enabled.
  5. Load in MapLibre GL JS or QGIS: Register the `pmtiles` protocol in MapLibre GL JS (`pmtiles://https://yourdomain.com/output.pmtiles`) or open the `.pmtiles` file directly in QGIS.

6. Frequently Asked Questions (FAQ)

  • Is PMTiles free and open-source?Yes. Both the PMTiles format specification and the `go-pmtiles` / `pmtiles.js` tools are open-source under the BSD-3-Clause license.
  • What is the difference between MBTiles and PMTiles?MBTiles is an SQLite database file best suited for local desktop apps or server-side tile servers, whereas PMTiles is structured specifically for direct HTTP Range Request streaming from static cloud object storage without a database server.
  • Can QGIS open `.pmtiles` files directly?Yes. Recent versions of QGIS support reading `.pmtiles` vector and raster archives natively via GDAL/OGR without needing a separate tile server.

System Requirements

• Linux (64-bit x86_64 / ARM64), macOS (Intel & Apple Silicon), or Windows (64-bit)
• Multi-core 64-bit processor (2+ cores minimum; 4+ cores recommended when converting large country/planet MBTiles archives)
• 2 GB RAM minimum (8 GB–16 GB+ recommended when converting multi-gigabyte regional or global tile pyramids)
• Minimal CLI binary footprint (~15 MB – 25 MB) plus SSD storage matching your `.pmtiles` map archive size
• Not required for CLI/cloud hosting (WebGL-enabled browser or QGIS desktop used for viewing maps)
• Not required on storage/CLI host (WebGL GPU acceleration runs on client browsers rendering MapLibre/OpenLayers maps)

Official Vendor & Free Trial Portals

100% Genuine & Authorized Sources

To ensure authentic software, security updates, and full license compliance, register for an official trial, educational license, or commercial subscription directly through the vendor links below:

Visit Official Website
Official Free Trial & Registration
Visit Official Portal
Official Vendor Portal
Brandon Liu (Protomaps) & Open-Source Contributors Product Overview
Visit Official Portal

Software Overview & Official Licensing

Official Vendor Portal : https://docs.protomaps.com/pmtiles/
Developer / Publisher : Brandon Liu (Protomaps) & Open-Source Contributors
Licensing Model : 100% Free & Open-Source (BSD-3-Clause License)
Reviewed Version : go-pmtiles v1.28+ / PMTiles v3 Specification (Nov 2026)
Edition / Package : PMTiles Specification, `go-pmtiles` CLI & `pmtiles.js` Client Library
Approx. Installer Size : ~15 MB – 25 MB (Single Static CLI Binary)
Supported Platform : Cross-Platform (Linux, macOS, Windows & Web Browsers)
Review Published : 28/11/2026
Last Verified : 28/11/2026
Editorial Rating : 4.9 / 5.0 ★ Verified Official
Share: WhatsApp Telegram Pinterest X

Comments (0)

No comments yet. Be the first to leave a comment.

Pin this guide: Pinterest
Editorial Note: Independent software review & workflow guide. Always download software or register for free trials directly from official vendor websites.
Share