From ef8d0a71684df69c75ed602eac2ae82e3d7dc0bf Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Tue, 21 May 2024 20:16:40 -0400 Subject: [PATCH] Add --force option to planetiler to overwrite any prior output that wasn't deleted for whatever reason (such as a failed build). Trust that lock will prevent concurrency issues --- renderer/render_once.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/renderer/render_once.sh b/renderer/render_once.sh index 875bc3b..f9c6c41 100755 --- a/renderer/render_once.sh +++ b/renderer/render_once.sh @@ -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 \ @@ -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