Skip to content

Instantly share code, notes, and snippets.

@cbayerlein
Created July 24, 2021 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbayerlein/9b7af1f8d7b26d93e1f1785c8d9484ea to your computer and use it in GitHub Desktop.
Save cbayerlein/9b7af1f8d7b26d93e1f1785c8d9484ea to your computer and use it in GitHub Desktop.
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