style: restrict man_made main tag to selected values

This commit is contained in:
Sarah Hoffmann 2024-03-18 21:26:41 +01:00
parent 4315debff5
commit 44922af20e
2 changed files with 20 additions and 4 deletions

View File

@ -23,7 +23,16 @@ flex.set_main_tags{
secondary_link = 'named', secondary_link = 'named',
tertiary_link = 'named'}, tertiary_link = 'named'},
railway = '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', aerialway = 'always',
boundary = {'named', boundary = {'named',
postal_code = 'always'}, postal_code = 'always'},
@ -59,7 +68,6 @@ flex.set_prefilters{delete_keys = {'note', 'note:*', 'source', '*source', 'attri
'noexit', 'crossing', 'give_way', 'stop'}, 'noexit', 'crossing', 'give_way', 'stop'},
railway = {'level_crossing', 'no', 'rail', 'switch', railway = {'level_crossing', 'no', 'rail', 'switch',
'abandoned', 'signal', 'buffer_stop', 'razed'}, 'abandoned', 'signal', 'buffer_stop', 'razed'},
man_made = {'survey_point', 'cutline'},
aerialway = {'pylon', 'no'}, aerialway = {'pylon', 'no'},
aeroway = {'no'}, aeroway = {'no'},
amenity = {'no', 'parking_space', 'parking_entrance'}, amenity = {'no', 'parking_space', 'parking_entrance'},

View File

@ -23,7 +23,16 @@ flex.set_main_tags{
secondary_link = 'named', secondary_link = 'named',
tertiary_link = 'named'}, tertiary_link = 'named'},
railway = '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', aerialway = 'always',
boundary = {'named', boundary = {'named',
postal_code = 'always'}, postal_code = 'always'},
@ -63,7 +72,6 @@ flex.set_prefilters{delete_keys = {'note', 'note:*', 'source', '*source', 'attri
'noexit', 'crossing', 'give_way', 'stop'}, 'noexit', 'crossing', 'give_way', 'stop'},
railway = {'level_crossing', 'no', 'rail', 'switch', railway = {'level_crossing', 'no', 'rail', 'switch',
'abandoned', 'signal', 'buffer_stop', 'razed'}, 'abandoned', 'signal', 'buffer_stop', 'razed'},
man_made = {'survey_point', 'cutline'},
aerialway = {'pylon', 'no'}, aerialway = {'pylon', 'no'},
aeroway = {'no'}, aeroway = {'no'},
amenity = {'no', 'parking_space', 'parking_entrance'}, amenity = {'no', 'parking_space', 'parking_entrance'},