X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e5cb5d439dadf6308f4e09b116613c75d8a7d788..d4fa528d5c9d8435126b1d9286e84d5208bdfd9d:/lib/setup/SetupClass.php?ds=inline diff --git a/lib/setup/SetupClass.php b/lib/setup/SetupClass.php index 7dca5548..013668fa 100755 --- a/lib/setup/SetupClass.php +++ b/lib/setup/SetupClass.php @@ -2,6 +2,8 @@ namespace Nominatim\Setup; +require_once(CONST_BasePath.'/lib/setup/AddressLevelParser.php'); + class SetupFunctions { protected $iCacheMemory; @@ -271,6 +273,9 @@ class SetupFunctions if ($bReverseOnly) { $this->pgExec('DROP TABLE search_name'); } + + $oAlParser = new AddressLevelParser(CONST_Address_Level_Config); + $oAlParser->createTable($this->oDB, 'address_levels'); } public function createPartitionTables()