]> git.openstreetmap.org Git - nominatim.git/blobdiff - vagrant/install-on-centos-7.sh
Merge pull request #730 from SrihariThalla/update-vagrantmd-doc
[nominatim.git] / vagrant / install-on-centos-7.sh
index 62e718e5d8c9c9074938c392e8ec04d43070d566..02c7d943fda703e8f975a7f9e1201add88b36df9 100755 (executable)
@@ -151,6 +151,13 @@ else                               #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: