From de5147eaa09b9eeb9993e0ce9917e971dc1aab2f Mon Sep 17 00:00:00 2001 From: Daniel Mannarino Date: Tue, 30 Jul 2024 05:40:18 -0400 Subject: [PATCH] Write feature filter to intermediate file to avoid shell expansion of zoom --- batch/scripts/create_vector_tile_cache.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/batch/scripts/create_vector_tile_cache.sh b/batch/scripts/create_vector_tile_cache.sh index 58009602..5c8d87ca 100755 --- a/batch/scripts/create_vector_tile_cache.sh +++ b/batch/scripts/create_vector_tile_cache.sh @@ -47,7 +47,8 @@ keep_all) # never drop or coalesce feature, ignore size and feature count esac if [ -n "${FILTER}" ]; then - TIPPE_ARG_ARRAY+=("-j" "${FILTER}") + echo "${FILTER}" > feature_filter.txt + TIPPE_ARG_ARRAY+=("-J" "feature_filter.txt") fi TIPPE_ARG_ARRAY+=("${NDJSON_FILE}")