From 1ecf8ffb1ded14f5a992cfbed01cf94efb3ee9d8 Mon Sep 17 00:00:00 2001 From: Daniel Mannarino Date: Fri, 19 Jul 2024 11:39:59 -0400 Subject: [PATCH] Tell ogr2ogr input file format --- batch/scripts/create_vector_tile_cache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/scripts/create_vector_tile_cache.sh b/batch/scripts/create_vector_tile_cache.sh index 13af0494a..a067414d9 100755 --- a/batch/scripts/create_vector_tile_cache.sh +++ b/batch/scripts/create_vector_tile_cache.sh @@ -38,7 +38,7 @@ FINAL_DATA='data.ndjson' if [ -n "$WHERE_FIELD" ]; then FINAL_DATA='filtered_data.ndjson' echo "Perform Filtering" - ogr2ogr "${FINAL_DATA}" 'data.ndjson' -where "${WHERE_FIELD} IN (${WHERE_VALUES})" + ogr2ogr -if GeoJSONSeq "${FINAL_DATA}" 'data.ndjson' -where "${WHERE_FIELD} IN (${WHERE_VALUES})" fi echo "Build Tile Cache"