X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7f55dcef3a1e316c1c25123f49e304639cb26382..5781e198a72922dcc1c7eeca900285d5aa38c5e4:/utils/update.php diff --git a/utils/update.php b/utils/update.php index 7e90016c..6e6a99ab 100644 --- a/utils/update.php +++ b/utils/update.php @@ -47,6 +47,7 @@ $aCMDOptions getCmdOpt($_SERVER['argv'], $aCMDOptions, $aResult, true, true); if (!isset($aResult['index-instances'])) $aResult['index-instances'] = 1; + if (!isset($aResult['index-rank'])) $aResult['index-rank'] = 0; date_default_timezone_set('Etc/UTC'); @@ -70,6 +71,8 @@ $oOsm2pgsqlCmd = (new \Nominatim\Shell(CONST_Osm2pgsql_Binary)) ->addParams('--latlong') ->addParams('--append') ->addParams('--slim') + ->addParams('--with-forward-dependencies', 'false') + ->addParams('--log-progress', 'true') ->addParams('--number-processes', 1) ->addParams('--cache', $iCacheMemory) ->addParams('--output', 'gazetteer')