Skip to content

Commit

Permalink
Merge pull request #3373 from lonvia/restrict-man-made
Browse files Browse the repository at this point in the history
Style tweaks: restrict man_made features to be imported
  • Loading branch information
lonvia authored Mar 25, 2024
2 parents 4315deb + 44922af commit 436aff2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
12 changes: 10 additions & 2 deletions settings/import-extratags.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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'},
Expand Down Expand Up @@ -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'},
Expand Down
12 changes: 10 additions & 2 deletions settings/import-full.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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'},
Expand Down Expand Up @@ -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'},
Expand Down

0 comments on commit 436aff2

Please sign in to comment.