]> git.openstreetmap.org Git - nominatim.git/blob - settings/import-full.style
improve fallback ranking
[nominatim.git] / settings / import-full.style
1 [
2 {
3     "keys" : ["*source"],
4     "values" : {
5         "" : "skip"
6     }
7 },
8 {
9     "keys" : ["name:prefix", "name:suffix", "name:prefix:*", "name:suffix:*",
10               "name:botanical", "wikidata", "*:wikidata"],
11     "values" : {
12         "" : "extra"
13     }
14 },
15 {
16     "keys" : ["ref", "int_ref", "nat_ref", "reg_ref", "loc_ref", "old_ref",
17               "iata", "icao", "pcode", "pcode:*"],
18     "values" : {
19         "" : "ref"
20     }
21 },
22 {
23     "keys" : ["name", "name:*", "int_name", "int_name:*", "nat_name", "nat_name:*",
24               "reg_name", "reg_name:*", "loc_name", "loc_name:*",
25               "old_name", "old_name:*", "alt_name", "alt_name:*", "alt_name_*",
26               "official_name", "official_name:*", "place_name", "place_name:*",
27               "short_name", "short_name:*", "brand"],
28     "values" : {
29         "" : "name"
30     }
31 },
32 {
33     "keys" : ["addr:housename"],
34     "values" : {
35         "" : "name,house"
36     }
37 },
38 {
39     "keys" : ["emergency"],
40     "values" : {
41         "fire_hydrant" : "skip",
42         "yes" : "skip",
43         "no" : "skip",
44         "" : "main"
45     }
46 },
47 {
48     "keys" : ["historic", "military"],
49     "values" : {
50         "no" : "skip",
51         "yes" : "skip",
52         "" : "main"
53     }
54 },
55 {
56     "keys" : ["natural"],
57     "values" : {
58         "yes" : "skip",
59         "no" : "skip",
60         "coastline" : "skip",
61         "" : "main,with_name"
62     }
63 },
64 {
65     "keys" : ["landuse"],
66     "values" : {
67         "cemetry" : "main,with_name",
68         "" : "main,fallback,with_name"
69     }
70 },
71 {
72     "keys" : ["highway"],
73     "values" : {
74         "no" : "skip",
75         "turning_circle" : "skip",
76         "mini_roundabout" : "skip",
77         "noexit" : "skip",
78         "crossing" : "skip",
79         "give_way" : "skip",
80         "stop" : "skip",
81         "street_lamp" : "main,with_name",
82         "traffic_signals" : "main,with_name",
83         "service" : "main,with_name",
84         "cycleway" : "main,with_name",
85         "path" : "main,with_name",
86         "footway" : "main,with_name",
87         "steps" : "main,with_name",
88         "bridleway" : "main,with_name",
89         "track" : "main,with_name",
90         "byway": "main,with_name",
91         "motorway_link" : "main,with_name",
92         "trunk_link" : "main,with_name",
93         "primary_link" : "main,with_name",
94         "secondary_link" : "main,with_name",
95         "tertiary_link" : "main,with_name",
96         "" : "main"
97     }
98 },
99 {
100     "keys" : ["railway"],
101     "values" : {
102         "level_crossing" : "skip",
103         "no" : "skip",
104         "rail" : "skip",
105         "" : "main,with_name"
106     }
107 },
108 {
109     "keys" : ["man_made"],
110     "values" : {
111         "survey_point" : "skip",
112         "cutline" : "skip",
113         "" : "main"
114     }
115 },
116 {
117     "keys" : ["aerialway"],
118     "values" : {
119         "pylon" : "skip",
120         "no" : "skip",
121         "" : "main"
122     }
123 },
124 {
125     "keys" : ["boundary"],
126     "values" : {
127         "place" : "skip",
128         "" : "main,with_name"
129     }
130 },
131 {
132     "keys" : ["amenity"],
133     "values" : {
134         "restaurant" : "main,operator",
135         "fuel" : "main,operator"
136     }
137 },
138 {
139     "keys" : ["aeroway", "amenity", "club", "craft", "leisure",
140               "office", "mountain_pass"],
141     "values" : {
142         "no" : "skip",
143         "" : "main"
144     }
145 },
146 {
147     "keys" : ["shop"],
148     "values" : {
149         "no" : "skip",
150         "" : "main,operator"
151     }
152 },
153 {
154     "keys" : ["tourism"],
155     "values" : {
156         "yes" : "skip",
157         "no" : "skip",
158         "" : "main,operator"
159     }
160 },
161 {
162     "keys" : ["bridge", "tunnel"],
163     "values" : {
164         "" : "main,with_name_key"
165     }
166 },
167 {
168     "keys" : ["waterway"],
169     "values" : {
170         "riverbank" : "skip",
171         "" : "main,with_name"
172     }
173 },
174 {
175     "keys" : ["place"],
176     "values" : {
177         "" : "main"
178     }
179 },
180 {
181     "keys" : ["junction"],
182     "values" : {
183         "" : "main,fallback,with_name"
184     }
185 },
186 {
187     "keys" : ["postal_code", "postcode", "addr:postcode",
188               "tiger:zip_left", "tiger:zip_right"],
189     "values" : {
190         "" : "postcode,fallback"
191     }
192 },
193 {
194     "keys" : ["country_code", "ISO3166-1", "is_in:country_code", "is_in:country",
195               "addr:country", "addr:country_code"],
196     "values" : {
197         "" : "country"
198     }
199 },
200 {
201     "keys" : ["addr:housenumber", "addr:conscriptionnumber", "addr:streetnumber"],
202     "values" : {
203         "" : "address,house"
204     }
205 },
206 {
207     "keys" : ["addr:interpolation"],
208     "values" : {
209         "" : "interpolation,address"
210     }
211 },
212 {
213     "keys" : ["addr:*", "is_in:*", "tiger:county", "is_in"],
214     "values" : {
215         "" : "address"
216     }
217 },
218 {
219     "keys" : ["building"],
220     "values" : {
221         "no" : "skip",
222         "" : "main,fallback,with_name"
223     }
224 },
225 {
226     "keys" : ["tracktype", "traffic_calming", "service", "cuisine", "capital",
227               "dispensing", "religion", "denomination", "sport",
228               "internet_access", "lanes", "surface", "smoothness", "width",
229               "est_width", "incline", "opening_hours", "collection_times",
230               "service_times", "disused", "wheelchair", "sac_scale",
231               "trail_visibility", "mtb:scale", "mtb:description", "wood",
232               "drive_through", "drive_in", "access", "vehicle", "bicyle",
233               "foot", "goods", "hgv", "motor_vehicle", "motor_car", "oneway",
234               "date_on", "date_off", "day_on", "day_off", "hour_on", "hour_off",
235               "maxweight", "maxheight", "maxspeed", "fee", "toll", "charge",
236               "population", "description", "image", "attribution", "fax",
237               "email", "url", "website", "phone", "real_ale", "smoking",
238               "food", "camera", "brewery", "locality", "wikipedia",
239               "wikipedia:*", "access:*", "contact:*", "drink:*", "toll:*"],
240     "values" : {
241         "" : "extra"
242     }
243 }
244 ]