]> git.openstreetmap.org Git - nominatim.git/blob - settings/import-full.style
move SQL functions for normalisation in separate file
[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:botanical", "wikidata",
10               "*: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         "traffic_signals" : "main,with_name",
80         "service" : "main,with_name",
81         "cycleway" : "main,with_name",
82         "path" : "main,with_name",
83         "footway" : "main,with_name",
84         "steps" : "main,with_name",
85         "bridleway" : "main,with_name",
86         "track" : "main,with_name",
87         "byway": "main,with_name",
88         "motorway_link" : "main,with_name",
89         "trunk_link" : "main,with_name",
90         "primary_link" : "main,with_name",
91         "secondary_link" : "main,with_name",
92         "tertiary_link" : "main,with_name",
93         "" : "main"
94     }
95 },
96 {
97     "keys" : ["railway"],
98     "values" : {
99         "level_crossing" : "skip",
100         "no" : "skip",
101         "" : "main,with_name"
102     }
103 },
104 {
105     "keys" : ["man_made"],
106     "values" : {
107         "survey_point" : "skip",
108         "cutline" : "skip",
109         "" : "main"
110     }
111 },
112 {
113     "keys" : ["aerialway"],
114     "values" : {
115         "pylon" : "skip",
116         "no" : "skip",
117         "" : "main"
118     }
119 },
120 {
121     "keys" : ["boundary"],
122     "values" : {
123         "" : "main,with_name"
124     }
125 },
126 {
127     "keys" : ["amenity"],
128     "values" : {
129         "restaurant" : "main,operator",
130         "fuel" : "main,operator"
131     }
132 },
133 {
134     "keys" : ["aeroway", "amenity", "club", "craft", "leisure",
135               "office", "mountain_pass"],
136     "values" : {
137         "no" : "skip",
138         "" : "main"
139     }
140 },
141 {
142     "keys" : ["shop"],
143     "values" : {
144         "no" : "skip",
145         "" : "main,operator"
146     }
147 },
148 {
149     "keys" : ["tourism"],
150     "values" : {
151         "yes" : "skip",
152         "no" : "skip",
153         "" : "main,operator"
154     }
155 },
156 {
157     "keys" : ["bridge", "tunnel"],
158     "values" : {
159         "" : "main,with_name_key"
160     }
161 },
162 {
163     "keys" : ["waterway"],
164     "values" : {
165         "riverbank" : "skip",
166         "" : "main,with_name"
167     }
168 },
169 {
170     "keys" : ["place"],
171     "values" : {
172         "" : "main"
173     }
174 },
175 {
176     "keys" : ["junction"],
177     "values" : {
178         "" : "main,fallback,with_name"
179     }
180 },
181 {
182     "keys" : ["postal_code", "postcode", "addr:postcode",
183               "tiger:zip_left", "tiger:zip_right"],
184     "values" : {
185         "" : "postcode,fallback"
186     }
187 },
188 {
189     "keys" : ["country_code", "ISO3166-1", "is_in:country_code", "is_in:country",
190               "addr:country", "addr:country_code"],
191     "values" : {
192         "" : "country"
193     }
194 },
195 {
196     "keys" : ["addr:housenumber", "addr:conscriptionnumber", "addr:streetnumber"],
197     "values" : {
198         "" : "address,house"
199     }
200 },
201 {
202     "keys" : ["addr:interpolation"],
203     "values" : {
204         "" : "interpolation,address"
205     }
206 },
207 {
208     "keys" : ["addr:*", "is_in:*", "tiger:county", "is_in"],
209     "values" : {
210         "" : "address"
211     }
212 },
213 {
214     "keys" : ["building"],
215     "values" : {
216         "no" : "skip",
217         "" : "main,fallback,with_name"
218     }
219 },
220 {
221     "keys" : ["tracktype", "traffic_calming", "service", "cuisine", "capital",
222               "dispensing", "religion", "denomination", "sport",
223               "internet_access", "lanes", "surface", "smoothness", "width",
224               "est_width", "incline", "opening_hours", "collection_times",
225               "service_times", "disused", "wheelchair", "sac_scale",
226               "trail_visibility", "mtb:scale", "mtb:description", "wood",
227               "drive_through", "drive_in", "access", "vehicle", "bicyle",
228               "foot", "goods", "hgv", "motor_vehicle", "motor_car", "oneway",
229               "date_on", "date_off", "day_on", "day_off", "hour_on", "hour_off",
230               "maxweight", "maxheight", "maxspeed", "fee", "toll", "charge",
231               "population", "description", "image", "attribution", "fax",
232               "email", "url", "website", "phone", "real_ale", "smoking",
233               "food", "camera", "brewery", "locality", "wikipedia",
234               "wikipedia:*", "access:*", "contact:*", "drink:*", "toll:*"],
235     "values" : {
236         "" : "extra"
237     }
238 }
239 ]