forked from HSLdevcom/pelias-data-container
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelias.json
64 lines (63 loc) · 1.48 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
{
"esclient": {
"apiVersion": "2.4",
"keepAlive": true,
"requestTimeout": "20000",
"hosts": [
{
"env": "dev",
"protocol": "http",
"host": "localhost",
"port": 9200
}
],
"log": [{
"type": "stdio",
"level": [ "error", "warning" ]
}]
},
"logger": {
"level": "info",
"suspectFile": false
},
"acceptance-tests": {
"endpoints": { "local": "http://localhost:3100/v1/" }
},
"imports": {
"defaultAdminLayers": ["localadmin", "locality", "neighbourhood", "region", "postalcode"],
"adminLookup": {
"enabled": true,
"maxConcurrentReqs": 4,
"localizedNames": true,
"dropUnmapped": true
},
"openstreetmap": {
"datapath": "/mnt/data/openstreetmap/",
"leveldbpath": "/tmp",
"import": [{
"filename": "finland.osm.pbf"
}]
},
"openaddresses": {
"datapath": "/mnt/data/openaddresses/",
"adminLayers": ["localadmin", "locality", "neighbourhood", "region"]
},
"polyline": {
"datapath": "/mnt/data/",
"files": [
"finland.polylines"
]
},
"whosonfirst": {
"datapath": "/mnt/data/whosonfirst/wof_data"
},
"wofPipNames": {
"localadmin": ["name:fin_x_preferred", "name:swe_x_preferred"],
"region": ["name:fin_x_preferred", "name:swe_x_preferred"],
"neighbourhood": ["name:fin_x_preferred", "name:swe_x_preferred"]
}
},
"schema": {
"indexName": "pelias"
}
}