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')
9 flex.set_address_tags('core')
10 flex.set_postcode_fallback(false)
12 flex.ignore_keys('metatags')
13 flex.add_for_extratags('required')
15 if cfg.with_extratags then
16 flex.set_unused_handling{delete_keys = {'tiger:*'}}
17 flex.add_for_extratags('name')
18 flex.add_for_extratags('address')
20 flex.ignore_keys('name')
21 flex.ignore_keys('address')