X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b3b109b86fb747439f3a66a72bcd046b6278a0b3..4e5b08053a5186715368d31bca769d5f02b15b0a:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php index 6b0a5b37..80c139f7 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -154,6 +154,11 @@ 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 .= ' --tablespace-slim-index ssd --tablespace-main-index ssd --tablespace-main-data ssd --tablespace-slim-data data'; $osm2pgsql .= ' -lsc -O gazetteer --hstore'; $osm2pgsql .= ' -C 16000';