Skip to content

Commit

Permalink
Add --force option to planetiler to overwrite any prior output that w…
Browse files Browse the repository at this point in the history
…asn't deleted for whatever reason (such as a failed build). Trust that lock will prevent concurrency issues
  • Loading branch information
quincylvania committed May 22, 2024
1 parent 7d1e4d5 commit ef8d0a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions renderer/render_once.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ docker run -e JAVA_TOOL_OPTIONS='-Xmx150g' \
-v "$DIR/layers":/layers \
ghcr.io/onthegomap/planetiler:latest --area=planet --bounds=world \
--output="/data/planet.pmtiles" \
--force \
--transportation_name_size_for_shield \
--transportation_name_limit_merge \
--boundary-osm-only \
Expand Down Expand Up @@ -74,6 +75,7 @@ for file in "$DIR/layers/"*.yml; do
ghcr.io/onthegomap/planetiler:latest generate-custom \
--area=planet --bounds=world \
--output="/data/$layer_name.pmtiles" \
--force \
--schema="/layers/$layer_name.yml" \
--storage=mmap --nodemap-type=array \
--max-point-buffer=4
Expand Down

0 comments on commit ef8d0a7

Please sign in to comment.