diff --git a/projects/pelias.json b/projects/pelias.json new file mode 100644 index 00000000..b44ff562 --- /dev/null +++ b/projects/pelias.json @@ -0,0 +1,66 @@ +{ + "logger": { + "level": "debug", + "timestamp": false + }, + "esclient": { + "apiVersion": "7.5", + "hosts": [ + { "host": "elasticsearch" } + ] + }, + "elasticsearch": { + "settings": { + "index": { + "refresh_interval": "10s", + "number_of_replicas": "0", + "number_of_shards": "1" + } + } + }, + "api": { + "services": { + "pip": { "url": "http://pip:4200" }, + "libpostal": { "url": "http://libpostal:4400" }, + "placeholder": { "url": "http://placeholder:4100" }, + "interpolation": { "url": "http://interpolation:4300" } + }, + "defaultParameters": { + "focus.point.lat": 38.5, + "focus.point.lon": -8.9 + } + }, + "imports": { + "adminLookup": { + "enabled": true + }, + "geonames": { + "datapath": "/data/geonames", + "countryCode": "PT" + }, + "openstreetmap": { + "download": [ + { "sourceURL": "http://download.geofabrik.de/europe/portugal-latest.osm.pbf" } + ], + "leveldbpath": "/tmp", + "datapath": "/data/openstreetmap", + "import": [{ + "filename": "portugal-latest.osm.pbf" + }] + }, + "openaddresses": { + "datapath": "/data/openaddresses", + "files": ["pt/countrywide.csv"] + }, + "polyline": { + "datapath": "/data/polylines", + "files": [ "extract.0sv" ] + }, + "whosonfirst": { + "datapath": "/data/whosonfirst", + "importPostalcodes": true, + "countryCode": "PT", + "importPlace": [ "85633735"] + } + } +}