1 local _, flex, cfg = ...
4 if cfg.with_extratags then
10 flex.set_main_tags('all_boundaries')
11 flex.modify_main_tags('natural')
12 flex.modify_main_tags('street/' .. (cfg.street_theme or 'default'))
13 flex.modify_main_tags('poi/' .. group)
15 flex.set_name_tags('core')
16 flex.modify_name_tags('address')
17 flex.modify_name_tags('poi')
19 flex.set_address_tags('core')
20 flex.modify_address_tags('houses')
22 flex.ignore_keys('metatags')
23 flex.add_for_extratags('required')
25 if cfg.with_extratags then
26 flex.set_unused_handling{delete_keys = {'tiger:*'}}
27 flex.add_for_extratags('name')
28 flex.add_for_extratags('address')
30 flex.ignore_keys('name')
31 flex.ignore_keys('address')