]> git.openstreetmap.org Git - nominatim.git/blob - settings/import-street.style
move SQL functions for normalisation in separate file
[nominatim.git] / settings / import-street.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_code"],
47     "values" : {
48         "" : "country"
49     }
50 },
51 {
52     "keys" : ["addr:*", "is_in:*", "tiger:county"],
53     "values" : {
54         "" : "address"
55     }
56 },
57 {
58     "keys" : ["highway"],
59     "values" : {
60         "motorway" : "main",
61         "trunk" : "main",
62         "primary" : "main",
63         "secondary" : "main",
64         "tertiary" : "main",
65         "unclassified" : "main",
66         "residential" : "main",
67         "living_street" : "main",
68         "pedestrian" : "main",
69         "road" : "main",
70         "service" : "main,with_name",
71         "cycleway" : "main,with_name",
72         "path" : "main,with_name",
73         "footway" : "main,with_name",
74         "steps" : "main,with_name",
75         "bridleway" : "main,with_name",
76         "track" : "main,with_name",
77         "byway": "main,with_name",
78         "motorway_link" : "main,with_name",
79         "trunk_link" : "main,with_name",
80         "primary_link" : "main,with_name",
81         "secondary_link" : "main,with_name",
82         "tertiary_link" : "main,with_name"
83     }
84 }
85 ]