Skip to content

Commit

Permalink
Add a few samples for the pruner/gardener config
Browse files Browse the repository at this point in the history
  • Loading branch information
iandees committed Apr 19, 2017
1 parent ba6cbc3 commit 3a51b85
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions config.yaml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,46 @@ metatile:
# addition to the metatile. this can be useful when gracefully "cutting over"
# to a metatile-based system from an individual format based one.
store_metatile_and_originals: false

# Configuration for the tiles of interest prune/garden command.
toi-prune:
# Connection and query configuration for a RedShift database containing
# request information for tiles.
redshift:
database-uri: postgresql://user:password@localhost:5439/database
# The number of days of history to query for.
days: 30
# The maximum zoom level to query redshift.
max-zoom: 16
cutoff:
# The minimum number of requests per tile for a tile to be included in
# the tiles of interest
min-requests: 16
# The maximum number of tiles to include from the RedShift-based calculation
max-tiles: 100000
s3:
# Connection information for deleting tiles from S3 when the tile is no longer
# in the tiles of interest.
bucket: mapzen-tiles-dev-us-east
date-prefix: 20170322
path: osm
layer: all
format: zip
always-include:
# Sets of tiles to always include in the tiles of interest
world:
bbox: -180.0,-85.06,180.0,85.06
min_zoom: 0
max_zoom: 10
# conus:
# bbox: -124.8,24.8,-66.1,49.3
# min_zoom: 11
# max_zoom: 14
# sf_metro:
# bbox: -122.524338,37.571794,-122.345123,37.821175
# min_zoom: 0
# max_zoom: 15
# ny_metro:
# bbox: -74.09111,40.652513,-73.831558,40.911956
# min_zoom: 0
# max_zoom: 15

0 comments on commit 3a51b85

Please sign in to comment.