Cherokee added a cryptor.h and we wanted to have the pcre.h also to be working.
[handlerosm.git] / download.sh
blob40145a4e3eccb497b6c7deb1b18de2670ed1a01f
1 #!/bin/sh
2 mkdir -p /tmp/import
3 cd /tmp/import
4 wget -O planet-nl-latest.osm.gz http://hypercube.telascience.org/planet/planet-nl-latest.osm.gz
5 gzip -d planet-nl-latest.osm.gz
6 /opt/cherokee/bin/osmparser planet-nl-latest.osm > import.sql
8 ls -1 *.csv | while read i; do
9 sort -u $i > $i-sorted
10 mv $i-sorted $i
11 done
13 /opt/monetdb/bin/mclient -lsql < import.sql