Skip to content

Commit

Permalink
Restore downloading NDJSON to after checking strategy per Dan's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dmannarino committed Jul 25, 2024
1 parent 499b626 commit 829eeca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions batch/scripts/create_vector_tile_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ ME=$(basename "$0")

NDJSON_FILE="data.json"

echo "Fetching NDJSON data from the Data Lake: ${SRC} -> ${NDJSON_FILE}..."
aws s3 cp "${SRC}" "${NDJSON_FILE}" --no-progress


# Build an array of arguments to pass to tippecanoe
TIPPE_ARG_ARRAY=(
"-e" "tilecache"
Expand Down Expand Up @@ -56,6 +52,9 @@ fi

TIPPE_ARG_ARRAY+=("${NDJSON_FILE}")

echo "Fetching NDJSON file from the Data Lake: ${SRC} -> ${NDJSON_FILE}..."
aws s3 cp "${SRC}" "${NDJSON_FILE}" --no-progress

echo "Building Tile Cache with Tippecanoe..."
tippecanoe "${TIPPE_ARG_ARRAY[@]}"

Expand Down

0 comments on commit 829eeca

Please sign in to comment.