Brandon Liu
Brandon Liu
It should be simple to run planetiler and rclone in sequence to perform the upload. My thought for the next v4 spec of pmtiles (backwards compatible, don't worry) is to...
A lot of the low-level logic might fit unit tests better by standardizing the test cases used in this file: https://github.com/protomaps/PMTiles/blob/main/js/test/v3.test.ts#L126 Because a directory is a flat list of elements...
Thanks for investigating this thoroughly I don't think 3 and 4 are viable options because they would require interacting with the browser's storage APIs. MapLibre will already cache things internally...
> Why is interacting with the browser storage APIs not an option until the browsers catch up and properly cache range requests? Would love to understand your thinking behind this....
Here is the Firefox bug tracker where there's discussion of how this affects Cloud Optimized GeoTIFF in the same way: https://bugzilla.mozilla.org/show_bug.cgi?id=1615698
In js v3 we're planning to move to always sending a conditional request `If-Match: ${etag}`. It turns out that this makes all range requests other than the header uncacheable. Even...
Well, I spent today testing it out and I'm rolling back this change :P It turns out `If-Match` causes not only browser cache misses, but also a preflight CORS for...
(We are still going to use If-Match for Lambda, Cloudflare and go-pmtiles, just not for the browser Fetch API which interacts with CORS and the browser cache)
JS 3.0.0-alpha.2 is on NPM implementing this, see changelog here: https://github.com/protomaps/PMTiles/blob/main/js/CHANGELOG.md It may require you change from `import pmtiles from "pmtiles"` to named imports `import {PMTiles} from "pmtiles"` This should...
Can you reproduce this on storage that isn’t firebase, like Amazon s3?