forked from HSLdevcom/pelias-data-container
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelias.json
99 lines (99 loc) · 2.41 KB
/
pelias.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"esclient": {
"apiVersion": "7.x",
"keepAlive": true,
"requestTimeout": "20000",
"hosts": [
{
"env": "dev",
"protocol": "http",
"host": "localhost",
"port": 9200
}
],
"log": [{
"type": "stdio",
"level": [ "error", "warning" ]
}]
},
"elasticsearch": {
"settings": {
"index": {
"number_of_replicas": "0",
"number_of_shards": "1",
"refresh_interval": "1m"
}
}
},
"logger": {
"level": "info",
"suspectFile": false
},
"acceptance-tests": {
"endpoints": { "local": "http://localhost:3100/v1/" }
},
"imports": {
"blacklistUrl": "https://geocoding.blob.core.windows.net/vrk/blacklist.txt",
"blacklist": ["mml-10012934", "mml-12011355", "mml-12002598", "relation:13410240", "relation:34914", "node:59631552", "way:395604698", "node:9770559599", "node:2098884693", "node:10240591962", "node:2005331907", "way:121861337", "node:5730435574"],
"defaultAdminLayers": ["localadmin", "locality", "neighbourhood", "region", "postalcode", "country"],
"defaultCountry": {
"name": "Suomi",
"abbr": "FIN"
},
"adminLookup": {
"enabled": true,
"maxConcurrentReqs": 4,
"localizedNames": true,
"dropUnmapped": true,
"usePostalCities": false
},
"openstreetmap": {
"datapath": "/mnt/data/openstreetmap/",
"leveldbpath": "/tmp",
"import": [
{
"filename": "finland.pbf",
"importVenues": true
},
{
"filename": "hsl_geocode_appendix.osm.pbf",
"importVenues": true
},
{
"filename": "estonia-latest.osm.pbf",
"importVenues": true
}
]
},
"whosonfirst": {
"datapath": "/mnt/data/wof_data"
},
"wofPipNames": {
"localadmin": ["name:fin_x_preferred", "name:swe_x_preferred", "name:est_x_preferred"],
"region": ["name:fin_x_preferred", "name:swe_x_preferred", "name:est_x_preferred"],
"neighbourhood": ["name:fin_x_preferred", "name:swe_x_preferred", "name:est_x_preferred"]
}
},
"schema": {
"indexName": "pelias"
},
"api" : {
"languages": [
"fi",
"default",
"alternative",
"sv",
"en",
"se",
"et",
"local",
"international",
"national",
"official",
"old",
"regional",
"short",
"sorting"
]
}
}