Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 582 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 582 Bytes

data-export

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