Protomaps

protomaps.com · Company blog · on HN since 2021

Protomaps is a project by Brandon Liu that offers open source map tooling and the single-file PMTiles format for serving maps.

What HN saysCommenters recommend it as a cheaper way to host maps than Google or Mapbox, citing single-file range requests and easy self-hosted vector tiles.
37HN people shared it
27linked it in comments
16stories submitted
663story points
10 months agolast shared
2021people per year2026

Most-shared posts

  1. 1
    Protomaps – A free and open source map of the world
    22 people · 7 points · first shared 2022 · 1 comments on HN
  2. 2
    Rethinking the Free Tier for Maps
    4 people · 16 points · first shared 2022 · 2 comments on HN
  3. 3
    Pmtiles
    4 people · first shared 2022
  4. 4
    Dynamic Maps, Static Storage
    2 people · 5 points · first shared 2021 · discussion on HN
  5. 5
    Cdn
    2 people · first shared 2023
  6. 6
    Blog
    2 people · first shared 2022
  7. 7
    A new way to make maps with OpenStreetMap
    1 people · 508 points · first shared 2021 · 98 comments on HN
  8. 8
  9. 9
    Transitioning Protomaps from Open Core to Open Source
    1 people · 5 points · first shared 2024 · discussion on HN
  10. 10
    The Surprising Anatomy of a One-Man Map Tech Stack
    1 people · 2 points · first shared 2022 · discussion on HN
  11. 11
    Serverless maps at 1/700 the cost of Google Maps API
    1 people · 2 points · first shared 2023 · discussion on HN
  12. 12
  13. 13
    Simple, customizable maps for the web – Protomaps
    1 people · 2 points · first shared 2022 · discussion on HN
  14. 14
    What's new in PMTiles version 3
    1 people · 1 points · first shared 2022 · discussion on HN
  15. 15
    Osm
    1 people · first shared 2022

What HN people wrote when they linked it

kylehotchkiss · 2024-09-13
I love this Josh! I recently discovered Protomaps (https://protomaps.com) and have been having a lot of fun doing mapping without paying Google or Mapbox a small fortune for the privilege. I found the the basemaps look much better than the protomaps site makes them appear (they're super zoomed out in the samples where the styles don't come together as well as they do when zoomed in)
joshstrange · 2023-07-26
If you are looking for maps themselves (a la Google Maps) I highly recommend checking out Protomaps [0]. It provides a single file (PMTile format) that contains all the map data and you can request ranges from the single file to get the required vector data you need for a given area/zoom. So you can setup something like the following: S3 (host the myfile.pmtiles) <- Lambda (takes the x/y/z from the path and requests the correct range) <- Cloudfront cache tile response Then you can setup tiles.mydomain.com (or use the cloudfront domain directly) and then use Leaflet or similar on the frontend to fetch/render the tiles. For Leaflet you use the protomaps plugin/lib and give it a url like "https://tiles.yourdomain.com/20230408/ {z}/ {x}/ {y}.mvt" where "20230408" maps to "20230408.pmtiles" in your S3 bucket. Now I can drop new pmtiles files into that bucket and update my clients to use the new source. And since the tiles are in vector format you can theme them however you want in the client which is neat. Lastly you don't have to use the 100+GB whole-earth tileset. You can use a tool [1] (provided by the same guy) to download a dataset for just a given geographical region. The .pmtiles file is a little over 100GB but the whole setup took me only an hour or two max to get running and will cost way less than Google Maps to run. [0] https://protomaps.com/ [1] https://app.protomaps.com/downloads/small_map
matthberg · 2026-01-17
Seems very similar to how maps work on the web these days, in particular protomap files [0]. I wonder if you could view the medical images in leaflet or another frontend map library with the addition of a shim layer? Cool work! 0: https://protomaps.com/
raybb · 2025-11-26
I think you might be looking for something like this: https://protomaps.com/
speedgoose · 2024-11-19
Yes, vector tiles are much easier to self host. You have for example https://protomaps.com/ or https://openmaptiles.org/ or https://versatiles.org/ (random order).
notachatbot123 · 2024-09-26
Ouch, 11,000 Mapbox bill? Just throw https://protomaps.com/ on a server somewhere and enjoy zero payments to another service provider.
komali2 · 2024-09-24
I'll be using this this Sunday for a project for a g0v civic hackathon. You solved a problem we had been discussing today. We were going to use protomaps instead https://protomaps.com/ The pitch for the project is here if anyone in Taiwan is interested in joining: https://hackmd.io/7K4kLkseTYCPI7DWoNv5mA?view Hackathon info: https://g0v-jothon.kktix.cc/events/g0v-hackath63n
dschep · 2024-08-12
without a means to update the map, this isn't a breakthrough. I'd rather use protomaps[0](which has regular builds, from a better-known source) with caddy. [0] https://protomaps.com/
orblivion · 2024-08-12
Look at https://protomaps.com/ - You can have a single file in a that represents the vector data for a region at multiple zoom levels. There used to be a really nice UI where you could just select a region. They've changed things around a bit since then so I'm not sure how it works now.
mbo · 2024-07-25
Protomaps (https://protomaps.com/) uses this for their PMTiles HTTP range request lookups too right (https://docs.protomaps.com/pmtiles/)?
robseed · 2024-05-25
https://protomaps.com/ is even simpler. Http range requests on a single static file.
Soupy · 2023-07-09
I did actually! For my particular source dataset it was far easier just to lean on the plain old GeoTiff format since that's what my source data was already formatted in and my testing of the client-side on-the-fly tiling using range queries and fast-png for encoding resulted in close to par performance with 0 increase in hosting costs and 0 headache in building custom pipelines to encode the cloud-optimized versions. Basically, I'm lazy, I'm sure it's the "correct" answer for other use-cases I also have been digging pretty extensively into protomaps though for some newer non-GeoTiff datasets I'm in the process of pulling in, in my opinion it's the future for this space - https://protomaps.com/
bdon · 2022-11-22
The barriers to adopting vector-everywhere are social and commercial, not technical. There are a couple great public raster services like osm.org's default style and http://maps.stamen.com. These are 100% free to use, so they get used everywhere, but incur significant expense to the organizations running (paying) for them. There aren't equivalent solutions in vector-land yet... I wrote a bit about this previously: https://protomaps.com/blog/free-tier-maps
pkalinowski · 2022-11-22
Vector map of the whole Earth in PMTiles format is only ~65GB[1] and doesn't need any server or database - it's just a static file which you can host wherever you want. bdon (author of PMTiles) already commented on this thread. I recommend taking a look at https://protomaps.com/docs - compared to this, raster tile servers sound like ancient technology. [1]: https://app.protomaps.com/store/planet-z14
kocheez75 · 2022-08-18
I believe Protomaps[1] might be what you’re looking for. [1]: https://protomaps.com/
okok3857 · 2022-06-04
The tile size doesn't change, but the number of pixels per meter does as you note--distortion being greater the farther you get from the equator (in the Mercator projection). The protomaps blog has some heady stuff you may enjoy reading: https://protomaps.com/blog/free-tier-maps. Felt apparently uses protomaps.js, which you can learn more about in that blog as well.
adeptima · 2025-09-12
QGIS is a gold standard to verify you tools works fine and data is in a correct format ... if you are a web based first, you have even better options to build and extend kepler, protomaps, maplibre-gl-js https://kepler.gl https://protomaps.com https://github.com/maplibre/maplibre-gl-js the rest can be found on great Qiusheng Wu’s (aka @giswqs) Geo/GeoAI tutorials channels and repos https://www.youtube.com/@giswqs/videos https://x.com/giswqs but what really amazed me is how geo spatial support is growing inside of databases recently https://duckdb.org/docs/stable/core_extensions/spatial/overview.html all mighty postgis https://postgis.net/docs/manual-3.5/postgis_cheatsheet-en.html https://sedona.apache.org/latest/ https://geoparquet.org/releases/v1.0.0/ and many unlocked dataset compare to other industries https://docs.overturemaps.org/getting-data/duckdb/ https://www.openstreetmap.org/ https://hub.arcgis.com/search lot great webtools are comming for sure and you still can be 100% of most of your geospatial pipeline p.s. want to extend the above list with self-hosted tools with minimum or none dependencies on paid APIs, and recommendations are greatly appreciated
brennopost · 2024-08-12
I had success with Protomaps (https://protomaps.com/).
itissid · 2024-08-06
This like protomaps? https://protomaps.com/
dabreegster · 2022-08-30
https://protomaps.com/ by u/bdon might be relevant
geokon · 2023-10-23
https://protomaps.com/faq They seem to be explicitly noncommercial
maxerickson · 2023-03-11
The thing being discussed is designed for cloud, so I think self managed is a better description? https://protomaps.com/docs/cdn Self hosting pmtiles is straightforward also, make a file available to a server that supports range requests: https://protomaps.com/docs/pmtiles#2.-serve-your-file-locally
pbronez · 2023-03-10
This might be what you’re looking for: https://protomaps.com/docs/pmtiles Looks like protomaps supports up to zoom level 14 for free: https://app.protomaps.com/downloads/small_map
hampelm · 2023-03-01
The developer of Protomaps (https://protomaps.com/blog) is doing really cutting-edge work in the geospatial space and is taking sponsorships: https://github.com/protomaps
sntran · 2022-09-14
This would be quite convenient when dealing with MBtiles files hosted on S3 or similar. There are efforts such as PMTiles[1] that let us use HTTP Range query to retrieve tiles directly from S3, but we still have to convert MBTiles to PMTiles first. More importantly that OSM is considering providing MBTiles directly (besides PBF)[2]. [1]: https://protomaps.com/docs/pmtiles/ [2]: https://github.com/openstreetmap/operations/issues/565
tppiotrowski · 2022-05-28
Some interesting work is being done to make this affordable (storing a single large planet file in S3 to limit upload costs and using byte-range offset requests to fetch individual tiles) [1] [1] https://protomaps.com/docs/pmtiles/
MonxK6PY7 · 2022-01-02
I should say I am aware of free and generous third party providers online - however I am specifically looking to do it myself. An example of my quest might be https://protomaps.com/downloads/osm which allows me to draw on the map and then download a .osm file based on that.

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close