← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

PMTiles Format Simplifies Self-Hosting Map Tiles, Reducing Costs for Developers

🔄 Updated 6d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • PMTiles is a single-file map tile format.
  • Uses HTTP Range requests for data access.
  • Reduces map hosting costs compared to commercial APIs.
  • Can be deployed to CDNs like Bunny.net.
  • CLI allows extracting specific map data for smaller files.

PMTiles Format Introduction

Protomaps has developed PMTiles, a new tile format designed for self-hosting map data. This format packages map tiles into a single file, which can then be accessed using HTTP Range requests. This approach simplifies the deployment process, allowing developers to host map data directly from storage buckets.

Cost-Effectiveness for Developers

The PMTiles format offers a cost-effective alternative to commercial map APIs, particularly for non-commercial projects or those anticipating high traffic. Commercial services often charge per map load, which can become expensive as usage scales. PMTiles, by contrast, leverages storage and bandwidth costs, which can be substantially lower, potentially reducing expenses by up to 100 times for certain usage patterns.

Deployment and Customization

Deployment of PMTiles involves uploading the single file to a storage bucket. CDNs that support HTTP Range requests, such as Bunny.net, can directly serve these files. For CDNs without native support, an edge function can translate traditional URL paths to Range requests. Developers can also use a command-line interface (CLI) to extract specific geographic areas or zoom levels, creating smaller, more manageable map files tailored to project needs.

Practical Cost Example

Storing a 139GB world map with replication across multiple continents on a service like Bunny.net could cost approximately $5 per month for storage. Bandwidth costs are also low; for instance, loading a map of Europe and zooming in might consume about 5MB of data, costing around $0.00005. This model provides predictable and lower costs compared to per-load pricing structures of many commercial map providers.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 21

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Protomaps introduces PMTiles, a tile format that enables self-hosting map tiles as a single file accessible via HTTP Range requests. This format simplifies deployment to storage buckets and can significantly reduce costs compared to commercial map APIs, especially for projects with high usage.