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