News for hackers. Stuff that matters.
Re:MapLibre Tile: a modern and efficient vector tile format by Humphrey on Monday January 26, 2026 @06:39AM (#46764464)
Oh pmtiles is such a simple and innovative solution!
Re:MapLibre Tile: a modern and efficient vector tile format by pratio on Monday January 26, 2026 @07:55AM (#46765072)
Yes, Absolutely in love with it. Loading tiles with range requests made our application so much faster.
Re:MapLibre Tile: a modern and efficient vector tile format by jtbaker on Monday January 26, 2026 @09:49AM (#46766282)
It's very cool! If you want to get higher cache hit rates from a CDN or redis etc. and lower the amount of S3 reads, you can get set up a proxy to convert `/{z}/{x}/{y}.mvt` requests into the byte-range requests: https://docs.protomaps.com/deploy/

Brandon has some example code you can lift to dump it into a Cloudflare Worker or other platforms on that page.

Re:MapLibre Tile: a modern and efficient vector tile format by pratio on Monday January 26, 2026 @10:37AM (#46766938)
Thank you. I'm going to try this on a different project that we have. Our current deployment is designed to work directly through s3/api gateway which reduces the number of moving parts.

We update the tiles frequently, so the setup has been amazing for us.

Re:MapLibre Tile: a modern and efficient vector tile format by jarl-ragnar on Monday January 26, 2026 @03:53PM (#46771366)
It is. I’ve found it so useful I created an Elixir library to act as a cache in front on a pmtiles file. https://hex.pm/packages/ex_pmtiles