5 ms·
This is interesting. We recently deployed a solution that uses pmtiles and it's great. https://docs.protomaps.com/pmtiles/ https://docs.protomaps.com/pmtiles/
by pratio 8mo ago
This is interesting. We recently deployed a solution that uses pmtiles and it's great.
https://docs.protomaps.com/pmtiles/ https://docs.protomaps.com/pmtiles/
afaik, pmtiles uses mvt, let's hope the tooling to convert the tiles to mlt also becomes available.
- Humphrey 8mo agoOh pmtiles is such a simple and innovative solution!
- pratio 8mo agoYes, Absolutely in love with it. Loading tiles with range requests made our application so much faster.
- jtbaker 8mo agoIt'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/ 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.
- pratio 8mo agoThank 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.
- jarl-ragnar 8mo agoIt 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 https://hex.pm/packages/ex_pmtiles
- dzogchen 8mo agoPMTiles is actually pretty agnostic to what kind of tiles it contains! There is already a PMTiles PR that updates the byte that specifies the type of tile to include MLT. https://github.com/protomaps/PMTiles/pull/596 https://github.com/protomaps/PMTiles/pull/596
- pratio 8mo agoOh wow, thank you, looking forward to this
- thibaut_barrere 8mo agoNeat, as someone integrating PMTiles right now, thank you!
- jamessb 8mo agoPMtiles is often used with MVT tiles, but it can encapsulate a variety of tile types: the current spec [1] has defined tile types for MVT, PNG, JPEG, WebP and AVIF (plus "Unknown/Other"). [1]: https://github.com/protomaps/PMTiles/blob/main/spec/v3/spec.md#tile-type-tt https://github.com/protomaps/PMTiles/blob/main/spec/v3/spec....
- pratio 8mo agoAbsolutely, we have MVT tiles at the moment, I'm hoping to test MLT soon
- maelito 8mo agoI'm building PMTiles through Tilemaker, PMTiles is incredible, but sadly it will take a lot of work to produce MLT though Tilemaker :/