Re:A new way to make maps with OpenStreetMap
by bdon on Friday April 23, 2021 @11:42PM
(#26922079)
That's exactly what PMTiles is for, and there's nothing in it specific to maps or geographic coordinates, just a Z/X/Y pyramid structure. I chose to support Leaflet for now because it is very popular; there's other viewers like OpenSeadragon for which a decoder plugin would be possible.
[ Parent
| on HN ]
Re:A new way to make maps with OpenStreetMap
by TheTaytay on Friday April 23, 2021 @11:54PM
(#26922126)
Fantastic. The renderer I was using was indeed leaflet based, so this sounds drop-in easy.
I just read through https://github.com/protomaps/PMTiles
Nice work!
The only downside would be that these maps are often re-rendered periodically and only have a few tiles that actually get updated. In that case, it’s nice to have to update only a handful of files. But I think the benefits would far outweigh the costs. Upload one massive file repeatedly is still gonna be faster I would think. Thanks!