Cloudflare R2 object storage setup & PMTiles sync pipeline (scripts/sync-tiles-r2.sh) #37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Set up an S3-compatible Cloudflare R2 bucket (
titik-gambut-tiles) for zero-egress static tile distribution. Create an automated sync script to upload all compiled.pmtilesarchives and asset bundles with correct MIME headers.Technical specifications
scripts/sync-tiles-r2.sh: R2 upload script using AWS CLI / MinIO Client / rclone..env.example: Add R2 endpoint, access key, secret key, and public tile bucket URL configurations.Content-Type: application/x-protobuffor.pmtilesfiles.Content-Type: image/tifffor.tifCOGs.Cache-Control: public, max-age=31536000, immutable.Acceptance criteria
.pmtilesarchives to the R2 bucket.206 Partial Contentwith valid byte length.Blocked by
Authoritative Specifications & Reference Documentation
docs/ARCHITECTURE.mdrustgis-cli, GeoLibre integration, and native FlatGeobuf/PMTiles/COG pipelines.Issue 24: [Backend] Cloudflare R2 object storage setup & PMTiles sync pipeline (to [Backend] Cloudflare R2 object storage setup & PMTiles sync pipeline (scripts/sync-tiles-r2.sh)scripts/sync-tiles-r2.sh)[Backend] Cloudflare R2 object storage setup & PMTiles sync pipeline (to Cloudflare R2 object storage setup & PMTiles sync pipeline (scripts/sync-tiles-r2.sh)scripts/sync-tiles-r2.sh)Closed as completed in PR #103 & #104 (scripts/upload-tiles-r2.mjs, secretspec.yaml, .forgejo/workflows/sync-tiles-r2.yml).