mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
adapt taginfo script to new configuration structure
This commit is contained in:
@@ -40,12 +40,6 @@ if type(themepark) ~= 'table' then
|
||||
themepark = nil
|
||||
end
|
||||
|
||||
-- tables required for taginfo
|
||||
module.TAGINFO_MAIN = {keys = {}, delete_tags = {}}
|
||||
module.TAGINFO_NAME_KEYS = {}
|
||||
module.TAGINFO_ADDRESS_KEYS = {}
|
||||
|
||||
|
||||
-- The single place table.
|
||||
local place_table_definition = {
|
||||
name = "place",
|
||||
@@ -904,4 +898,9 @@ function module.set_relation_types(data)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
function module.get_taginfo()
|
||||
return {main = MAIN_KEYS, name = NAMES, address = ADDRESS_TAGS}
|
||||
end
|
||||
|
||||
return module
|
||||
|
||||
Reference in New Issue
Block a user