]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #1894 from lonvia/fix-hierarchy-by-admin-level
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 29 Jul 2020 07:20:34 +0000 (09:20 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Jul 2020 07:20:34 +0000 (09:20 +0200)
Preserve admin level hierarchy between admin boundaries

utils/update.php

index fdc955ea26fa9a7e680f7f6d243c0f3d90752d58..cba58d3119180009b8b12a00d83ef48d659c1d53 100644 (file)
@@ -103,7 +103,9 @@ $oIndexCmd = (new \Nominatim\Shell(CONST_BasePath.'/nominatim/nominatim.py'))
              ->addParams('--database', $aDSNInfo['database'])
              ->addParams('--port', $aDSNInfo['port'])
              ->addParams('--threads', $aResult['index-instances']);
-
+if (!$aResult['quiet']) {
+    $oIndexCmd->addParams('--verbose');
+}
 if ($aResult['verbose']) {
     $oIndexCmd->addParams('--verbose');
 }