]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/import-street.lua
Merge pull request #2856 from t-tomek/patch-1
[nominatim.git] / settings / import-street.lua
index 34bff5725fa91d31bfb658b23c18007ba1428f0d..acadf01e7769c8229cba9dfff09c0f95c2755e56 100644 (file)
@@ -1,4 +1,4 @@
-flex = require('flex-base')
+local flex = require('flex-base')
 
 flex.set_main_tags{
     highway = {'always',
@@ -32,7 +32,7 @@ flex.set_prefilters{delete_keys = {'building', 'source',
                                               'noexit', 'crossing', 'give_way', 'stop'},
                                    landuse = {'cemetry', 'no'},
                                    boundary = {'place'}},
-                    extratag_keys = {'wikipedia', 'wikipedia:*', 'wikidata', 'capital', 'area'}
+                    extra_keys = {'wikipedia', 'wikipedia:*', 'wikidata', 'capital', 'area'}
                    }
 
 flex.set_name_tags{main = {'name', 'name:*',
@@ -64,3 +64,5 @@ flex.set_address_tags{main = {'addr:housenumber',
                      }
 
 flex.set_unused_handling{extra_keys = {'place'}}
+
+return flex