3 ms·
An exciting new standard here is pmtiles; a standardized way to store map tiles that can be used via http range requests. I believe planettiler has plans to add
by kylebarron 4y ago
An exciting new standard here is pmtiles; a standardized way to store map tiles that can be used via http range requests. I believe planettiler has plans to add pmtiles output support as well.
https://github.com/protomaps/PMTiles https://github.com/protomaps/PMTiles
- SahAssar 4y agoNice and looks very interesting! How would PMTiles handle compression? IIRC content-encoding and range requests don't play nice together, currently my server supports uncompressed, gzip and brotli for my tiles (compressed on-demand once and then cached).
- bdon 4y agoFor the next revision of the JS decoder I'm including `fflate` as a dependency so clients can decompress gzipped tile data using JavaScript. https://github.com/protomaps/PMTiles/blob/master/js/package.json#L33 https://github.com/protomaps/PMTiles/blob/master/js/package....