]> git.openstreetmap.org Git - nominatim.git/blobdiff - vagrant/install-on-ubuntu-16.sh
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / vagrant / install-on-ubuntu-16.sh
index 87cf185548aa75d6b1e26b7ceede8d5033a1c0ed..c347923fcf0f53ca784138fb7d5d44d637d599f1 100755 (executable)
@@ -138,6 +138,13 @@ else                               #DOCS:
     cd $USERHOME                   #DOCS:
 fi                                 #DOCS:
 
     cd $USERHOME                   #DOCS:
 fi                                 #DOCS:
 
+# When installing the latest source from github, you also need to
+# download the country grid:
+
+if [ ! -f data/country_osm_grid.sql.gz ]; then       #DOCS:
+    wget -O data/country_osm_grid.sql.gz http://www.nominatim.org/data/country_grid.sql.gz
+fi                                 #DOCS:
+
 # The code must be built in a separate directory. Create this directory,
 # then configure and build Nominatim in there:
 
 # The code must be built in a separate directory. Create this directory,
 # then configure and build Nominatim in there: