]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/import-extratags.lua
Merge pull request #3373 from lonvia/restrict-man-made
[nominatim.git] / settings / import-extratags.lua
index 3976251704732656bd4f52a9355950a1695263d0..d756cf3cbd2d1c106abc33eb605fa42b7c2f5792 100644 (file)
@@ -23,7 +23,16 @@ flex.set_main_tags{
                secondary_link = 'named',
                tertiary_link = 'named'},
     railway = 'named',
-    man_made = 'always',
+    man_made = {'none',
+                pier = 'always',
+                tower = 'always',
+                bridge = 'always',
+                works = 'named',
+                water_tower = 'always',
+                dyke = 'named',
+                lighthouse = 'always',
+                watermill = 'always',
+                tunnel = 'always'},
     aerialway = 'always',
     boundary = {'named',
                 postal_code = 'always'},
@@ -57,8 +66,8 @@ flex.set_prefilters{delete_keys = {'note', 'note:*', 'source', '*source', 'attri
                                    natural = {'yes', 'no', 'coastline'},
                                    highway = {'no', 'turning_circle', 'mini_roundabout',
                                               'noexit', 'crossing', 'give_way', 'stop'},
-                                   railway = {'level_crossing', 'no', 'rail'},
-                                   man_made = {'survey_point', 'cutline'},
+                                   railway = {'level_crossing', 'no', 'rail', 'switch',
+                                              'abandoned', 'signal', 'buffer_stop', 'razed'},
                                    aerialway = {'pylon', 'no'},
                                    aeroway = {'no'},
                                    amenity = {'no', 'parking_space', 'parking_entrance'},