Skip to content

Commit

Permalink
feat(gid_blacklist): add default config
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink committed Sep 4, 2018
1 parent 5f35c28 commit e188300
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions config/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
"openstreetmap": [ "address", "venue", "street" ],
"openaddresses": [ "address" ],
"geonames": [
"country", "macroregion", "region", "county", "localadmin", "locality", "borough",
"country", "macroregion", "region", "county", "localadmin", "locality", "borough",
"neighbourhood", "venue"
],
"whosonfirst": [
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
"microhood", "disputed", "venue", "postalcode", "continent", "ocean", "marinearea"
]
},
Expand All @@ -61,8 +61,8 @@
},
"layer_aliases": {
"coarse": [
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
"microhood", "disputed", "postalcode", "continent", "ocean", "marinearea"
]
}
Expand Down Expand Up @@ -91,6 +91,9 @@
"enabled": true,
"maxConcurrentRequests": 100
},
"blacklist": {
"files": []
},
"geonames": {
"datapath": "./data",
"countryCode": "ALL"
Expand Down
11 changes: 7 additions & 4 deletions test/expected-deep.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
"openstreetmap": [ "address", "venue", "street" ],
"openaddresses": [ "address" ],
"geonames": [
"country", "macroregion", "region", "county", "localadmin", "locality", "borough",
"country", "macroregion", "region", "county", "localadmin", "locality", "borough",
"neighbourhood", "venue"
],
"whosonfirst": [
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
"microhood", "disputed", "venue", "postalcode", "continent", "ocean", "marinearea"
]
},
Expand All @@ -66,8 +66,8 @@
},
"layer_aliases": {
"coarse": [
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
"microhood", "disputed", "postalcode", "continent", "ocean", "marinearea"
]
}
Expand Down Expand Up @@ -96,6 +96,9 @@
"enabled": true,
"maxConcurrentRequests": 100
},
"blacklist": {
"files": []
},
"geonames": {
"datapath": "~/geonames",
"countryCode": "ALL"
Expand Down

0 comments on commit e188300

Please sign in to comment.