Skip to content

Commit

Permalink
tile-pregeneration: Force overwriting tiles on cache operations
Browse files Browse the repository at this point in the history
By default tegola skips seeding/purging existing tiles in cache.
In our case we want to override this for tile invalidation.

Change-Id: Ib4631fb34d165af7a5e5bfb380ba6852d90f6c15
  • Loading branch information
johngian authored and thesocialdev committed Nov 10, 2021
1 parent 1b5f71d commit ebf161d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pregenerate-maps-tiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ do

# Pregenerate tiles that exist in tilelist
set -e
$TEGOLA_PATH --config "$TEGOLA_CONFIG_PATH" cache $CACHE_OPERATION tile-list "$TILELIST_PATH"
$TEGOLA_PATH --config "$TEGOLA_CONFIG_PATH" cache $CACHE_OPERATION --overwrite tile-list "$TILELIST_PATH"
set +e

if [ "$dequeueStatus" -eq 100 ] # Queue is empty
Expand Down

0 comments on commit ebf161d

Please sign in to comment.