0.1.2 • Published 12 years ago
s3-tile-purger v0.1.2
s3-tile-purger
Given appropriate credentials, I purge S3 buckets containing map tiles according to various criteria.
Tile Purging
To remove PNG tiles at z15+:
foreman run -- node purge.js -z 15 -e pngTo remove UTFGrids from a labels layer:
foreman run -- node purge.js -s labels -e jsonTo remove tiles older than 30 days:
foreman run -- node purge.js -a 2592000Environment Variables
AWS_ACCESS_KEY_ID- AWS access key id.AWS_SECRET_ACCESS_KEY- AWS secret access key.S3_BUCKET- S3 bucket to use.