]> git.openstreetmap.org Git - nominatim.git/blob - settings/import-full.style
Use place_exists() into can_compute() for postcodes
[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         "postal_code" : "main",
129         "" : "main,with_name"
130     }
131 },
132 {
133     "keys" : ["amenity"],
134     "values" : {
135         "restaurant" : "main,operator",
136         "fuel" : "main,operator"
137     }
138 },
139 {
140     "keys" : ["aeroway", "amenity", "club", "craft", "leisure",
141               "office", "mountain_pass"],
142     "values" : {
143         "no" : "skip",
144         "" : "main"
145     }
146 },
147 {
148     "keys" : ["shop"],
149     "values" : {
150         "no" : "skip",
151         "" : "main,operator"
152     }
153 },
154 {
155     "keys" : ["tourism"],
156     "values" : {
157         "yes" : "skip",
158         "no" : "skip",
159         "" : "main,operator"
160     }
161 },
162 {
163     "keys" : ["bridge", "tunnel"],
164     "values" : {
165         "" : "main,with_name_key"
166     }
167 },
168 {
169     "keys" : ["waterway"],
170     "values" : {
171         "riverbank" : "skip",
172         "" : "main,with_name"
173     }
174 },
175 {
176     "keys" : ["place"],
177     "values" : {
178         "" : "main"
179     }
180 },
181 {
182     "keys" : ["junction"],
183     "values" : {
184         "" : "main,fallback,with_name"
185     }
186 },
187 {
188     "keys" : ["postal_code", "postcode", "addr:postcode",
189               "tiger:zip_left", "tiger:zip_right"],
190     "values" : {
191         "" : "postcode,fallback"
192     }
193 },
194 {
195     "keys" : ["country_code", "ISO3166-1", "is_in:country_code", "is_in:country",
196               "addr:country", "addr:country_code"],
197     "values" : {
198         "" : "country"
199     }
200 },
201 {
202     "keys" : ["addr:housenumber", "addr:conscriptionnumber", "addr:streetnumber"],
203     "values" : {
204         "" : "address,house"
205     }
206 },
207 {
208     "keys" : ["addr:interpolation"],
209     "values" : {
210         "" : "interpolation,address"
211     }
212 },
213 {
214     "keys" : ["addr:*", "is_in:*", "tiger:county"],
215     "values" : {
216         "" : "address"
217     }
218 },
219 {
220     "keys" : ["building"],
221     "values" : {
222         "no" : "skip",
223         "" : "main,fallback,with_name"
224     }
225 },
226 {
227     "keys" : ["tracktype", "traffic_calming", "service", "cuisine", "capital",
228               "dispensing", "religion", "denomination", "sport",
229               "internet_access", "lanes", "surface", "smoothness", "width",
230               "est_width", "incline", "opening_hours", "collection_times",
231               "service_times", "disused", "wheelchair", "sac_scale",
232               "trail_visibility", "mtb:scale", "mtb:description", "wood",
233               "drive_through", "drive_in", "access", "vehicle", "bicyle",
234               "foot", "goods", "hgv", "motor_vehicle", "motor_car", "oneway",
235               "date_on", "date_off", "day_on", "day_off", "hour_on", "hour_off",
236               "maxweight", "maxheight", "maxspeed", "fee", "toll", "charge",
237               "population", "description", "image", "attribution", "fax",
238               "email", "url", "website", "phone", "real_ale", "smoking",
239               "food", "camera", "brewery", "locality", "wikipedia",
240               "wikipedia:*", "access:*", "contact:*", "drink:*", "toll:*",
241               "area"],
242     "values" : {
243         "" : "extra"
244     }
245 }
246 ]