Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Protomaps – A serverless system for planet-scale maps (protomaps.com)
14 points by WallyFunk on Aug 31, 2023 | hide | past | favorite | 2 comments


I just used this, the examples are difficult depending on where you start. Here is a quick intro. It's a way to serve small or significant portions of the map from a single file (known as pmtiles file) with HTTP range requests (no wasted bits).

1. They have a great [1] tool that allows you to draw a polygon and generate a pmtiles file for only a particular region. It requires a free account to actually download the pmtiles file, sometimes the download button appears a bit late, but be patient.

2. Then they have a MapLibre example here of how to use the pmtiles file to render it on browser: https://protomaps.github.io/basemaps/

Once you know these details it's a nice tool.

[1]: https://app.protomaps.com/downloads/small_map


Such a great utility for serverless tile hosting. Really enjoying where GIS in the cloud is going.

Another really awesome tool that is used a lot with protomaps is Tippecanoe.

https://felt.com/blog/erica-fischer-tippecanoe-at-felt

Excited that active development is started again




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: