From: Sarah Hoffmann Date: Mon, 25 Mar 2024 14:20:47 +0000 (+0100) Subject: Merge pull request #3373 from lonvia/restrict-man-made X-Git-Tag: deploy~5^2~2 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/436aff2fd390df242a999c821b1dc77fcbfcc868?hp=4315debff588a5aa67840eda07bcc85d265f923b Merge pull request #3373 from lonvia/restrict-man-made Style tweaks: restrict man_made features to be imported --- diff --git a/settings/import-extratags.lua b/settings/import-extratags.lua index 830345c6..d756cf3c 100644 --- a/settings/import-extratags.lua +++ b/settings/import-extratags.lua @@ -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'}, @@ -59,7 +68,6 @@ flex.set_prefilters{delete_keys = {'note', 'note:*', 'source', '*source', 'attri 'noexit', 'crossing', 'give_way', 'stop'}, railway = {'level_crossing', 'no', 'rail', 'switch', 'abandoned', 'signal', 'buffer_stop', 'razed'}, - man_made = {'survey_point', 'cutline'}, aerialway = {'pylon', 'no'}, aeroway = {'no'}, amenity = {'no', 'parking_space', 'parking_entrance'}, diff --git a/settings/import-full.lua b/settings/import-full.lua index 5b1ab060..f8b1e7a7 100644 --- a/settings/import-full.lua +++ b/settings/import-full.lua @@ -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'}, @@ -63,7 +72,6 @@ flex.set_prefilters{delete_keys = {'note', 'note:*', 'source', '*source', 'attri 'noexit', 'crossing', 'give_way', 'stop'}, railway = {'level_crossing', 'no', 'rail', 'switch', 'abandoned', 'signal', 'buffer_stop', 'razed'}, - man_made = {'survey_point', 'cutline'}, aerialway = {'pylon', 'no'}, aeroway = {'no'}, amenity = {'no', 'parking_space', 'parking_entrance'},