4 ms·
I wonder if Github Pages supports HTTP range. Obviously putting a multi-GB blob on there would probably be abuse, but a small blob limited to a small region wit
by globular-toast 3y ago
I wonder if Github Pages supports HTTP range. Obviously putting a multi-GB blob on there would probably be abuse, but a small blob limited to a small region with limited detail would be really nice for having a map to accompany a blog post or something.
- bdon 3y agoIt does, but there is a limit of something like 500 MB for single files.
- globular-toast 3y agoIt would be cool to have an automatic tool to generate a blob of any size and it would include as much detail as possible within your given blob size limit...
- bdon 3y agoYou can kind of do that already with the pmtiles CLI: pmtiles extract INPUT.pmtiles OUTPUT.pmtiles --bbox=BBOX --maxzoom=Z --dry-run --dry-run will output the total size of the final archive without downloading any tiles, so you can adjust the maxzoom from the default of 15 (for basemaps) until it fits under your limit
- wcedmisten 3y agoI used it for this hospital accessibility map of Maryland. Sorry the legend looks terrible on mobile though https://wcedmisten.github.io/nextjs-protomap-demo/isochrone https://wcedmisten.github.io/nextjs-protomap-demo/isochrone