]> git.openstreetmap.org Git - nominatim.git/blob - settings/import-admin.style
add postcodes and interpolations to osm2pgsql style
[nominatim.git] / settings / import-admin.style
1 [
2 {
3     "keys" : ["name:prefix", "name:suffix", "name:botanical", "*wikidata"],
4     "values" : {
5         "" : "skip"
6     }
7 },
8 {
9     "keys" : ["ref", "int_ref", "nat_ref", "reg_ref", "loc_ref", "old_ref",
10               "iata", "icao", "pcode"],
11     "values" : {
12         "" : "ref"
13     }
14 },
15 {
16     "keys" : ["name", "name:*", "int_name", "int_name:*", "nat_name", "nat_name:*",
17               "reg_name", "reg_name:*", "loc_name", "loc_name:*",
18               "old_name", "old_name:*", "alt_name", "alt_name:*", "alt_name_*",
19               "official_name", "official_name:*", "place_name", "place_name:*",
20               "short_name", "short_name:*", "brand"],
21     "values" : {
22         "" : "name"
23     }
24 },
25 {
26     "keys" : ["landuse"],
27     "values" : {
28         "cemetry" : "skip",
29         "" : "fallback,with_name"
30     }
31 },
32 {
33     "keys" : ["boundary"],
34     "values" : {
35         "administrative" : "main"
36     }
37 },
38 {
39     "keys" : ["place"],
40     "values" : {
41         "" : "main"
42     }
43 },
44 {
45     "keys" : ["country_code", "ISO3166-1", "is_in:country_code", "is_in_country",
46               "addr:country", "addr:country", "addr:country_code"],
47     "values" : {
48         "" : "country"
49     }
50 },
51 {
52     "keys" : ["addr:*", "is_in:*", "tiger:county"],
53     "values" : {
54         "" : "address"
55     }
56 },
57 {
58     "keys" : ["postal_code", "postcode", "addr:postcode",
59               "tiger:zip_left", "tiger:zip_right"],
60     "values" : {
61         "" : "postcode"
62     }
63 },
64 {
65     "keys" : ["capital"],
66     "values" : {
67         "" : "extra"
68     }
69 }
70 ]