]> git.openstreetmap.org Git - nominatim.git/blob - settings/import-admin.style
add type annotations for token analysis
[nominatim.git] / settings / import-admin.style
1 [
2 {   "keys" : ["wikipedia", "wikipedia:*", "wikidata"],
3     "values" : {
4         "" : "extra"
5     }
6 },
7 {
8     "keys" : ["*:prefix", "*:suffix", "name:prefix:*", "name:suffix:*",
9               "name:etymology", "name:signed", "name:botanical", "*:wikidata",
10               "addr:street:name", "addr:street:type"],
11     "values" : {
12         "" : "skip"
13     }
14 },
15 {
16     "keys" : ["ref", "int_ref", "nat_ref", "reg_ref", "loc_ref", "old_ref",
17               "iata", "icao", "pcode", "ISO3166-2"],
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" : ["landuse"],
34     "values" : {
35         "cemetry" : "skip",
36         "" : "fallback,with_name"
37     }
38 },
39 {
40     "keys" : ["boundary"],
41     "values" : {
42         "administrative" : "main"
43     }
44 },
45 {
46     "keys" : ["place"],
47     "values" : {
48         "" : "main"
49     }
50 },
51 {
52     "keys" : ["country_code", "ISO3166-1", "is_in:country_code", "is_in:country",
53               "addr:country", "addr:country_code"],
54     "values" : {
55         "" : "country"
56     }
57 },
58 {
59     "keys" : ["addr:*", "is_in:*", "tiger:county"],
60     "values" : {
61         "" : "address"
62     }
63 },
64 {
65     "keys" : ["postal_code", "postcode", "addr:postcode",
66               "tiger:zip_left", "tiger:zip_right"],
67     "values" : {
68         "" : "postcode"
69     }
70 },
71 {
72     "keys" : ["capital"],
73     "values" : {
74         "" : "extra"
75     }
76 }
77 ]