ccc-map/create-geojson.sh

8 lines
235 B
Bash
Executable File

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