Skip to content

Commit

Permalink
Merge pull request #564 from wri/tweak_vector_tile_cache_filters
Browse files Browse the repository at this point in the history
Save feature filter to file to avoid shell expansion of $zoom
  • Loading branch information
dmannarino authored Jul 30, 2024
2 parents 870d3bc + de5147e commit fb6fad9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion batch/scripts/create_vector_tile_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit fb6fad9

Please sign in to comment.