1 flex = require('flex-base')
6 traffic_signals = 'named',
14 motorway_link = 'named',
16 primary_link = 'named',
17 secondary_link = 'named',
18 tertiary_link = 'named'},
19 boundary = {administrative = 'named'},
24 flex.set_prefilters{delete_keys = {'building', 'source',
25 'addr:housenumber', 'addr:street',
26 'source', '*source', 'type',
27 'is_in:postcode', '*:wikidata',
28 '*:prefix', '*:suffix', 'name:prefix:*', 'name:suffix:*',
29 'name:etymology', 'name:signed', 'name:botanical',
30 'addr:street:name', 'addr:street:type'},
31 delete_tags = {highway = {'no', 'turning_circle', 'mini_roundabout',
32 'noexit', 'crossing', 'give_way', 'stop'},
33 landuse = {'cemetry', 'no'},
34 boundary = {'place'}},
35 extratag_keys = {'wikipedia', 'wikipedia:*', 'wikidata', 'capital', 'area'}
38 flex.set_name_tags{main = {'name', 'name:*',
39 'int_name', 'int_name:*',
40 'nat_name', 'nat_name:*',
41 'reg_name', 'reg_name:*',
42 'loc_name', 'loc_name:*',
43 'old_name', 'old_name:*',
44 'alt_name', 'alt_name:*', 'alt_name_*',
45 'official_name', 'official_name:*',
46 'place_name', 'place_name:*',
47 'short_name', 'short_name:*', 'brand'},
48 extra = {'ref', 'int_ref', 'nat_ref', 'reg_ref',
50 'iata', 'icao', 'pcode', 'pcode:*', 'ISO3166-2'}
53 flex.set_address_tags{main = {'addr:housenumber',
54 'addr:conscriptionnumber',
56 extra = {'addr:*', 'is_in:*', 'tiger:county'},
57 postcode = {'postal_code', 'postcode', 'addr:postcode',
58 'tiger:zip_left', 'tiger:zip_right'},
59 country = {'country_code', 'ISO3166-1',
60 'addr:country_code', 'is_in:country_code',
61 'addr:country', 'is_in:country'},
62 interpolation = {'addr:interpolation'},
63 postcode_fallback = false
66 flex.set_unused_handling{extra_keys = {'place'}}