Skip to content

Commit

Permalink
rasterタイルの時の処理を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
naogify committed Nov 20, 2024
1 parent 99e40e2 commit 7ad0540
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jq -c '.[]' $json_file | while read item; do
tippecanoe_opts=$(echo $item | jq -r '.["Tippecanoeオプション"]')

# dataType が "fiware" または "datapng" の場合はスキップ
if [[ $dataType == "fiware" || $dataType == "datapng" ]]; then
if [[ $dataType == "fiware" || $dataType == "datapng" || $dataType == "raster" ]]; then
continue
fi

Expand Down Expand Up @@ -255,6 +255,7 @@ tile-join -o "$merged_file" "${TILEJOIN_OPTS[@]}" "${mbtiles_files[@]}"

# 処理が終わったら .ndgeojson と .mbtiles ファイルを削除
find . -name "*.ndgeojson" -delete
find . -name "*.geojson" -delete
find . -name "*.mbtiles" ! -name "$merged_file" -delete


Expand Down

0 comments on commit 7ad0540

Please sign in to comment.