]> err.no Git - mapper/blob - docs/new-planet-db.sh
Rename s2s table to n2n. Add flags field to nodes table. integer -> int
[mapper] / docs / new-planet-db.sh
1 #!/bin/sh
2
3 echo "Creating new planet database"
4
5 if [ -r osm-planet.db ]; then
6  echo "Removing old planet db"
7  rm osm-planet.db
8 fi
9
10 sqlite3 osm-planet.db < osm-tables.sql
11 sqlite3 osm-planet.db < osm-indexes.sql
12
13 echo "Ready for import"