3 # Regenerates wkts for scenarios.
6 datadir="$( cd "$( dirname "$0" )" && cd ../data && pwd )"
8 if [! -d "$datadir" ]; then
9 echo "Cannot find data dir.";
13 echo "Using datadir $datadir"
19 # create wkts from SQL scripts
21 echo "Processing $fl.."
22 cat $fl | psql -d nominatim -t -o ${fl/.sql/.wkt}
25 # create wkts from .osm files
27 echo "Processing $fl.."