Permalink
123 lines (122 sloc) 3.11 KB
{
"esclient": {
"apiVersion": "2.4",
"keepAlive": true,
"requestTimeout": "120000",
"hosts": [{
"env": "development",
"protocol": "http",
"host": "localhost",
"port": 9200
}],
"log": [{
"type": "stdio",
"json": false,
"level": [ "error", "warning" ]
}]
},
"elasticsearch": {
"settings": {
"index": {
"number_of_replicas": "0",
"number_of_shards": "5",
"refresh_interval": "1m"
}
}
},
"interpolation": {
"client": {
"adapter": "null"
}
},
"dbclient": {
"statFrequency": 10000
},
"api": {
"accessLog": "common",
"textAnalyzer": "libpostal",
"host": "http://pelias.mapzen.com/",
"indexName": "pelias",
"version": "1.0",
"targets": {
"auto_discover": false,
"layers_by_source": {
"openstreetmap": [ "address", "venue", "street" ],
"openaddresses": [ "address" ],
"geonames": [
"country", "macroregion", "region", "county", "localadmin", "locality", "borough",
"neighbourhood", "venue"
],
"whosonfirst": [
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
"microhood", "disputed", "venue", "postalcode", "continent", "ocean", "marinearea"
]
},
"source_aliases": {
"osm": [ "openstreetmap" ],
"oa": [ "openaddresses" ],
"gn": [ "geonames" ],
"wof": [ "whosonfirst" ]
},
"layer_aliases": {
"coarse": [
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
"microhood", "disputed", "postalcode", "continent", "ocean", "marinearea"
]
}
}
},
"schema": {
"indexName": "pelias"
},
"logger": {
"level": "debug",
"timestamp": true,
"colorize": true
},
"acceptance-tests": {
"endpoints": {
"local": "http://localhost:3100/v1/",
"dev-cached": "http://pelias.dev.mapzen.com.global.prod.fastly.net/v1/",
"dev": "http://pelias.dev.mapzen.com/v1/",
"prod": "http://search.mapzen.com/v1/",
"prod-uncached": "http://pelias.mapzen.com/v1/",
"prodbuild": "http://pelias.prodbuild.mapzen.com/v1/"
}
},
"imports": {
"adminLookup": {
"enabled": true,
"maxConcurrentRequests": 100,
"usePostalCities": false
},
"blacklist": {
"files": []
},
"geonames": {
"datapath": "./data",
"countryCode": "ALL"
},
"openstreetmap": {
"datapath": "/mnt/pelias/openstreetmap",
"leveldbpath": "/tmp",
"import": [{
"filename": "planet.osm.pbf"
}]
},
"openaddresses": {
"datapath": "/mnt/pelias/openaddresses",
"files": []
},
"polyline": {
"datapath": "/mnt/pelias/polyline",
"files": []
},
"whosonfirst": {
"datapath": "/mnt/pelias/whosonfirst",
"importVenues": false
}
}
}