1 local _, flex, cfg = ...
3 flex.set_main_tags('admin')
4 flex.modify_main_tags('street/' .. (cfg.street_theme or 'default'))
5 flex.modify_main_tags{boundary = {postal_code = 'always'}}
7 flex.set_name_tags('core')
8 flex.modify_name_tags('address')
10 flex.set_address_tags('core')
11 flex.modify_address_tags('houses')
13 flex.ignore_keys('metatags')
14 flex.add_for_extratags('required')
16 if cfg.with_extratags then
17 flex.set_unused_handling{delete_keys = {'tiger:*'}}
18 flex.add_for_extratags('name')
19 flex.add_for_extratags('address')
21 flex.ignore_keys('name')
22 flex.ignore_keys('address')