]> git.openstreetmap.org Git - nominatim.git/blob - settings/import-street.style
add type annotations for token analysis
[nominatim.git] / settings / import-street.style
1 [
2 {   "keys" : ["wikipedia", "wikipedia:*", "wikidata", "area"],
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" : ["highway"],
66     "values" : {
67         "motorway" : "main",
68         "trunk" : "main",
69         "primary" : "main",
70         "secondary" : "main",
71         "tertiary" : "main",
72         "unclassified" : "main",
73         "residential" : "main",
74         "living_street" : "main",
75         "pedestrian" : "main",
76         "road" : "main",
77         "service" : "main,with_name",
78         "cycleway" : "main,with_name",
79         "path" : "main,with_name",
80         "footway" : "main,with_name",
81         "steps" : "main,with_name",
82         "bridleway" : "main,with_name",
83         "track" : "main,with_name",
84         "byway": "main,with_name",
85         "motorway_link" : "main,with_name",
86         "trunk_link" : "main,with_name",
87         "primary_link" : "main,with_name",
88         "secondary_link" : "main,with_name",
89         "tertiary_link" : "main,with_name"
90     }
91 }
92 ]