Skip to content

Instantly share code, notes, and snippets.

@tomtaylor
Created May 6, 2020 15:35
Show Gist options
  • Save tomtaylor/4d8c41662c7699d10f247785e2f53ddc to your computer and use it in GitHub Desktop.
Save tomtaylor/4d8c41662c7699d10f247785e2f53ddc to your computer and use it in GitHub Desktop.
Debugging Pelias import
{
"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": 54.0,
"focus.point.lon": -2.54
}
},
"imports": {
"adminLookup": {
"enabled": true
},
"geonames": {
"datapath": "/data/geonames",
"countryCode": "GB"
},
"openstreetmap": {
"download": [
{
"sourceURL": "http://download.geofabrik.de/europe/great-britain-latest.osm.pbf"
}
],
"leveldbpath": "/tmp",
"datapath": "/data/openstreetmap",
"import": [
{
"filename": "great-britain-latest.osm.pbf"
}
]
},
"openaddresses": {
"datapath": "/data/openaddresses",
"files": []
},
"polyline": {
"datapath": "/data/polylines",
"files": ["extract.0sv"]
},
"whosonfirst": {
"datapath": "/data/whosonfirst",
"importPostalcodes": false,
"countryCode": "GB",
"importPlace": ["85633159"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment