Move address level config into settings/

This commit is contained in:
Sarah Hoffmann
2018-11-27 22:32:27 +01:00
parent 5e072dabc3
commit 7611aa2f65
2 changed files with 2 additions and 3 deletions

View File

@@ -57,8 +57,7 @@
"peak" : [18, 0], "peak" : [18, 0],
"volcano" : [18, 0], "volcano" : [18, 0],
"mountain_range" : [18, 0], "mountain_range" : [18, 0],
"sea" : [4, 0], "sea" : [4, 0]
"" : [22, 0]
}, },
"waterway" : { "waterway" : {
"" : [17, 0] "" : [17, 0]

View File

@@ -49,7 +49,7 @@ if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true);
@define('CONST_Pyosmium_Binary', '@PYOSMIUM_PATH@'); @define('CONST_Pyosmium_Binary', '@PYOSMIUM_PATH@');
@define('CONST_Tiger_Data_Path', CONST_ExtraDataPath.'/tiger'); @define('CONST_Tiger_Data_Path', CONST_ExtraDataPath.'/tiger');
@define('CONST_Wikipedia_Data_Path', CONST_ExtraDataPath); @define('CONST_Wikipedia_Data_Path', CONST_ExtraDataPath);
@define('CONST_Address_Level_Config', CONST_ExtraDataPath.'/address-levels.json'); @define('CONST_Address_Level_Config', CONST_BasePath.'/settings/address-levels.json');
// osm2pgsql settings // osm2pgsql settings
@define('CONST_Osm2pgsql_Flatnode_File', null); @define('CONST_Osm2pgsql_Flatnode_File', null);