Skip to content

Commit

Permalink
feat:Merge pull request #52 from pelias/adminLookupDefault
Browse files Browse the repository at this point in the history
BREAKING CHANGE

Add admin lookup config section defaults. The old config value defaults have also been removed
  • Loading branch information
orangejulius authored Feb 16, 2017
2 parents 149c60c + 11ab407 commit 540d673
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions config/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,27 @@
}
},
"imports": {
"adminLookup": {
"enabled": true,
"maxConcurrentRequests": 100
},
"geonames": {
"datapath": "./data",
"adminLookup": false,
"countryCode": "ALL"
},
"openstreetmap": {
"datapath": "/mnt/pelias/openstreetmap",
"adminLookup": false,
"leveldbpath": "/tmp",
"import": [{
"filename": "planet.osm.pbf"
}]
},
"openaddresses": {
"datapath": "/mnt/pelias/openaddresses",
"adminLookup": false,
"files": []
},
"polyline": {
"datapath": "/mnt/pelias/polyline",
"adminLookup": false,
"files": []
},
"whosonfirst": {
Expand Down
8 changes: 4 additions & 4 deletions config/expected-deep.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,29 +61,29 @@
}
},
"imports": {
"adminLookup": {
"enabled": true,
"maxConcurrentRequests": 100
},
"geonames": {
"datapath": "~/geonames",
"adminLookup": false,
"countryCode": "ALL"
},
"openstreetmap": {
"datapath": "~/openstreetmap",
"adminLookup": false,
"leveldbpath": "/tmp/leveldb",
"import": [{
"filename": "london.osm.pbf"
}]
},
"openaddresses": {
"datapath": "~/openaddresses",
"adminLookup": false,
"files": [
"us-ny-nyc.csv"
]
},
"polyline": {
"datapath": "~/polyline",
"adminLookup": false,
"files": [
"road_network.polylines"
]
Expand Down

0 comments on commit 540d673

Please sign in to comment.