Skip to content

Commit

Permalink
Merge pull request #579 from wri/fix_vector_layer_names
Browse files Browse the repository at this point in the history
Restore behaviour of naming VTC layers after dataset
  • Loading branch information
dmannarino authored Aug 27, 2024
2 parents 1fd445a + c567610 commit 7f2be86
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 @@ -18,7 +18,7 @@ ME=$(basename "$0")
. get_arguments.sh "$@"


NDJSON_FILE="data.json"
NDJSON_FILE="${DATASET}.json"

# Build an array of arguments to pass to tippecanoe
TIPPE_ARG_ARRAY=(
Expand All @@ -28,6 +28,7 @@ TIPPE_ARG_ARRAY=(
"--preserve-input-order"
"-P"
"-n" "${DATASET}"
"-l" "${DATASET}"
)

case ${TILE_STRATEGY} in
Expand Down

0 comments on commit 7f2be86

Please sign in to comment.