]> git.openstreetmap.org Git - nominatim.git/blob - settings/import-address.style
introduce mutation variants to generic token analyser
[nominatim.git] / settings / import-address.style
1 [
2 {
3     "keys" : [ "" ],
4     "values" : {
5         "no" : "skip"
6     }
7 },
8 {   "keys" : ["wikipedia", "wikipedia:*", "wikidata", "area"],
9     "values" : {
10         "" : "extra"
11     }
12 },
13 {
14     "keys" : ["*:prefix", "*:suffix", "name:prefix:*", "name:suffix:*",
15               "name:etymology", "name:signed", "name:botanical", "*:wikidata",
16               "addr:street:name", "addr:street:type"],
17     "values" : {
18         "" : "skip"
19     }
20 },
21 {
22     "keys" : ["ref", "int_ref", "nat_ref", "reg_ref", "loc_ref", "old_ref",
23               "iata", "icao", "pcode", "ISO3166-2"],
24     "values" : {
25         "" : "ref"
26     }
27 },
28 {
29     "keys" : ["name", "name:*", "int_name", "int_name:*", "nat_name", "nat_name:*",
30               "reg_name", "reg_name:*", "loc_name", "loc_name:*",
31               "old_name", "old_name:*", "alt_name", "alt_name:*", "alt_name_*",
32               "official_name", "official_name:*", "place_name", "place_name:*",
33               "short_name", "short_name:*", "brand"],
34     "values" : {
35         "" : "name"
36     }
37 },
38 {
39     "keys" : ["landuse"],
40     "values" : {
41         "cemetry" : "skip",
42         "" : "fallback,with_name"
43     }
44 },
45 {
46     "keys" : ["boundary"],
47     "values" : {
48         "administrative" : "main",
49         "postal_code" : "main"
50     }
51 },
52 {
53     "keys" : ["place"],
54     "values" : {
55         "" : "main"
56     }
57 },
58 {
59     "keys" : ["addr:housename"],
60     "values" : {
61         "" : "name,house"
62     }
63 },
64 {
65     "keys" : ["addr:housenumber", "addr:conscriptionnumber", "addr:streetnumber"],
66     "values" : {
67         "" : "address,house"
68     }
69 },
70 {
71     "keys" : ["addr:interpolation"],
72     "values" : {
73         "" : "interpolation,address"
74     }
75 },
76 {
77     "keys" : ["postal_code", "postcode", "addr:postcode",
78               "tiger:zip_left", "tiger:zip_right"],
79     "values" : {
80         "" : "postcode,fallback"
81     }
82 },
83 {
84     "keys" : ["country_code", "ISO3166-1", "is_in:country_code", "is_in:country",
85               "addr:country", "addr:country_code"],
86     "values" : {
87         "" : "country"
88     }
89 },
90 {
91     "keys" : ["addr:*", "is_in:*", "tiger:county"],
92     "values" : {
93         "" : "address"
94     }
95 },
96 {
97     "keys" : ["highway"],
98     "values" : {
99         "motorway" : "main",
100         "trunk" : "main",
101         "primary" : "main",
102         "secondary" : "main",
103         "tertiary" : "main",
104         "unclassified" : "main",
105         "residential" : "main",
106         "living_street" : "main",
107         "pedestrian" : "main",
108         "road" : "main",
109         "service" : "main,with_name",
110         "cycleway" : "main,with_name",
111         "path" : "main,with_name",
112         "footway" : "main,with_name",
113         "steps" : "main,with_name",
114         "bridleway" : "main,with_name",
115         "track" : "main,with_name",
116         "byway": "main,with_name",
117         "motorway_link" : "main,with_name",
118         "trunk_link" : "main,with_name",
119         "primary_link" : "main,with_name",
120         "secondary_link" : "main,with_name",
121         "tertiary_link" : "main,with_name"
122     }
123 }
124 ]