Skip to content

Commit e188300

Browse files
committed
feat(gid_blacklist): add default config
1 parent 5f35c28 commit e188300

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

config/defaults.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
"openstreetmap": [ "address", "venue", "street" ],
4545
"openaddresses": [ "address" ],
4646
"geonames": [
47-
"country", "macroregion", "region", "county", "localadmin", "locality", "borough",
47+
"country", "macroregion", "region", "county", "localadmin", "locality", "borough",
4848
"neighbourhood", "venue"
4949
],
5050
"whosonfirst": [
5151
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
52-
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
52+
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
5353
"microhood", "disputed", "venue", "postalcode", "continent", "ocean", "marinearea"
5454
]
5555
},
@@ -61,8 +61,8 @@
6161
},
6262
"layer_aliases": {
6363
"coarse": [
64-
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
65-
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
64+
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
65+
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
6666
"microhood", "disputed", "postalcode", "continent", "ocean", "marinearea"
6767
]
6868
}
@@ -91,6 +91,9 @@
9191
"enabled": true,
9292
"maxConcurrentRequests": 100
9393
},
94+
"blacklist": {
95+
"files": []
96+
},
9497
"geonames": {
9598
"datapath": "./data",
9699
"countryCode": "ALL"

test/expected-deep.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
"openstreetmap": [ "address", "venue", "street" ],
5050
"openaddresses": [ "address" ],
5151
"geonames": [
52-
"country", "macroregion", "region", "county", "localadmin", "locality", "borough",
52+
"country", "macroregion", "region", "county", "localadmin", "locality", "borough",
5353
"neighbourhood", "venue"
5454
],
5555
"whosonfirst": [
5656
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
57-
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
57+
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
5858
"microhood", "disputed", "venue", "postalcode", "continent", "ocean", "marinearea"
5959
]
6060
},
@@ -66,8 +66,8 @@
6666
},
6767
"layer_aliases": {
6868
"coarse": [
69-
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
70-
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
69+
"continent", "empire", "country", "dependency", "macroregion", "region", "locality",
70+
"localadmin", "macrocounty", "county", "macrohood", "borough", "neighbourhood",
7171
"microhood", "disputed", "postalcode", "continent", "ocean", "marinearea"
7272
]
7373
}
@@ -96,6 +96,9 @@
9696
"enabled": true,
9797
"maxConcurrentRequests": 100
9898
},
99+
"blacklist": {
100+
"files": []
101+
},
99102
"geonames": {
100103
"datapath": "~/geonames",
101104
"countryCode": "ALL"

0 commit comments

Comments
 (0)