update osm2pgsql

Needs now an explicit switch to avoid propagating changes from
nodes to ways to relations.
This commit is contained in:
Sarah Hoffmann 2020-12-02 18:27:18 +01:00
parent 7d520bf448
commit 0334915067
3 changed files with 5 additions and 1 deletions

View File

@ -201,6 +201,8 @@ class SetupFunctions
$oCmd->addParams('--output', 'gazetteer');
$oCmd->addParams('--hstore');
$oCmd->addParams('--number-processes', 1);
$oCmd->addParams('--with-forward-dependencies', 'false');
$oCmd->addParams('--log-progress', 'true');
$oCmd->addParams('--cache', $this->iCacheMemory);
$oCmd->addParams('--port', $this->aDSNInfo['port']);

@ -1 +1 @@
Subproject commit 94a5060353179f4cf3e92aa622a2aa5d1afa6fee
Subproject commit 8e9704f2d155172b7c5885c67892c27ac7521c5c

View File

@ -70,6 +70,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')