]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/import-full.lua
Merge pull request #2957 from lonvia/reorganise-api-module
[nominatim.git] / settings / import-full.lua
index e00313cebccf9284ef0dd977fb3821e5c18bbfff..563f0ed9533bdd69ac5085ab43260c2b651aeb89 100644 (file)
@@ -1,4 +1,4 @@
-flex = require('flex-base')
+local flex = require('flex-base')
 
 flex.set_main_tags{
     building = 'fallback',
 
 flex.set_main_tags{
     building = 'fallback',
@@ -74,9 +74,10 @@ flex.set_prefilters{delete_keys = {'note', 'note:*', 'source', '*source', 'attri
                                    waterway = {'riverbank'},
                                    building = {'no'},
                                    boundary = {'place'}},
                                    waterway = {'riverbank'},
                                    building = {'no'},
                                    boundary = {'place'}},
-                    extratag_keys = {'*:prefix', '*:suffix', 'name:prefix:*', 'name:suffix:*',
+                    extra_keys = {'*:prefix', '*:suffix', 'name:prefix:*', 'name:suffix:*',
                                'name:etymology', 'name:signed', 'name:botanical',
                                'wikidata', '*:wikidata',
                                'name:etymology', 'name:signed', 'name:botanical',
                                'wikidata', '*:wikidata',
+                               '*:wikipedia', 'brand:wikipedia:*',
                                'addr:street:name', 'addr:street:type'}
                    }
 
                                'addr:street:name', 'addr:street:type'}
                    }
 
@@ -110,3 +111,5 @@ flex.set_address_tags{main = {'addr:housenumber',
 
 
 flex.set_unused_handling{extra_keys = {'place'}}
 
 
 flex.set_unused_handling{extra_keys = {'place'}}
+
+return flex