This commit is contained in:
Antonia 2024-08-24 22:31:56 +02:00
parent f4605b732c
commit a5072f4a4d

View file

@ -7,11 +7,11 @@ temp=$(mktemp -d)
mkdir "$temp/data" mkdir "$temp/data"
for i in "$1/data/"* for i in "$1/data/"*
do do
ogrmerge.py -single -o "$temp/$i.json" "$i"/* ogrmerge.py -single -o "$temp/$(basename $i).json" "$i"/*
done done
tippecanoe -aN -z10 -o "$temp/strecken.pmtiles" $temp/data/*.json tippecanoe -aN -z10 -o "$temp/strecken.pmtiles" $temp/*.json
mv $temp/strecken.pmtiles "$2" mv $temp/strecken.pmtiles "$2"