Skip to content

Instantly share code, notes, and snippets.

@cbayerlein
Created Jul 24, 2021
Embed
What would you like to do?
Pelias configuration for Baden-Württemberg
{
"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" }
}
},
"imports": {
"openstreetmap": {
"download": [
{ "sourceURL": "https://download.geofabrik.de/europe/germany/baden-wuerttemberg-latest.osm.pbf" }
],
"leveldbpath": "/tmp",
"datapath": "/data/openstreetmap",
"import": [{
"filename": "baden-wuerttemberg-latest.osm.pbf"
}]
},
"polyline": {
"datapath": "/data/polylines",
"files": [ "extract.0sv" ]
},
"adminLookup": {
"enabled": true
},
"whosonfirst": {
"datapath": "/data/whosonfirst",
"countryCode": "DE",
"importPostalcodes": false,
"importPlace": [ "85633111" ]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment