Merge pull request #767 from manzari/patch-1

add country_osm_grid download to development (vagrant) setup instructions
This commit is contained in:
mtmail
2017-07-07 01:46:04 +02:00
committed by GitHub

View File

@@ -47,13 +47,14 @@ is.
# inside the virtual machine:
mkdir data
cd build
wget -O /home/vagrant/Nominatim/data/country_osm_grid.sql.gz http://www.nominatim.org/data/country_grid.sql.gz
wget --no-verbose --output-document=../data/monaco.osm.pbf http://download.geofabrik.de/europe/monaco-latest.osm.pbf
./utils/setup.php --osm-file ../data/monaco.osm.pbf --osm2pgsql-cache 1000 --all 2>&1 | tee monaco.$$.log
```
To repeat an import you'd need to delete the database first
dropdb -if-exists nominatim
dropdb --if-exists nominatim