From e188300f09d189a51a081c809da012e4be846e3c Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Tue, 4 Sep 2018 12:32:00 +0200 Subject: [PATCH] feat(gid_blacklist): add default config --- config/defaults.json | 11 +++++++---- test/expected-deep.json | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/config/defaults.json b/config/defaults.json index ff2e5e7..3aa431e 100644 --- a/config/defaults.json +++ b/config/defaults.json @@ -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" ] }, @@ -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" ] } @@ -91,6 +91,9 @@ "enabled": true, "maxConcurrentRequests": 100 }, + "blacklist": { + "files": [] + }, "geonames": { "datapath": "./data", "countryCode": "ALL" diff --git a/test/expected-deep.json b/test/expected-deep.json index ef3e201..9aec59d 100644 --- a/test/expected-deep.json +++ b/test/expected-deep.json @@ -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" ] }, @@ -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" ] } @@ -96,6 +96,9 @@ "enabled": true, "maxConcurrentRequests": 100 }, + "blacklist": { + "files": [] + }, "geonames": { "datapath": "~/geonames", "countryCode": "ALL"