ccc-map/create-geojson.sh
2019-06-06 12:34:23 +02:00

8 lines
237 B
Bash
Executable File

#!/usr/bin/env sh
for file in $(ls *-csv) ; do
out=$(echo ${file}|cut -d- -f1)".geojson"
test -e ${out} && { echo "file exists: "${out}", skipping."; continue; }
echo ./lookup.py ${file}
./lookup.py ${file} 2>/dev/null > ${out}
done