This repository contains a Dockerfile and scripts to export Allmaps data as GeoJSON, PMTiles, JSON and NDJSON and upload to Cloudflare R2.
Build container:
docker build -t allmaps-data-export .
Run container:
docker run allmaps-data-export
Run bash in container:
docker run --rm -it --entrypoint bash allmaps-data-export
To run the containr, the following environment variables must be present:
ALLMAPS_API_KEY
RCLONE_CONFIG_R2_ACCESS_KEY_ID
RCLONE_CONFIG_R2_SECRET_ACCESS_KEY