]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/setup.php
make isolated dwellings addressable
[nominatim.git] / utils / setup.php
index 1c61a56b31f23c558465744e2797534afada8b23..081efd0de477d6fce0ddc0b145a522d2b5c814aa 100755 (executable)
                        echo "Please download and build osm2pgsql.\nIf it is already installed, check the path in your local settings (settings/local.php) file.\n";
                        fail("osm2pgsql not found in '$osm2pgsql'");
                }
+
+               if (!is_null(CONST_Osm2pgsql_Flatnode_File))
+               {
+                       $osm2pgsql .= ' --flat-nodes '.CONST_Osm2pgsql_Flatnode_File;
+               }
                $osm2pgsql .= ' -lsc -O gazetteer --hstore';
                $osm2pgsql .= ' -C '.$iCacheMemory;
                $osm2pgsql .= ' -P '.$aDSNInfo['port'];