From 37d72b333a9cf08fb346fe3192aba0e844341c3e Mon Sep 17 00:00:00 2001 From: antoniocarlon Date: Wed, 23 Sep 2020 08:18:20 +0200 Subject: [PATCH] Change HERE batch endpoint --- .../cartodb_services/cartodb_services/here/bulk_geocoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/python/cartodb_services/cartodb_services/here/bulk_geocoder.py b/server/lib/python/cartodb_services/cartodb_services/here/bulk_geocoder.py index 0da38fa..ad71bfe 100644 --- a/server/lib/python/cartodb_services/cartodb_services/here/bulk_geocoder.py +++ b/server/lib/python/cartodb_services/cartodb_services/here/bulk_geocoder.py @@ -18,7 +18,7 @@ HereJobStatus = namedtuple('HereJobStatus', 'total_count processed_count status' class HereMapsBulkGeocoder(HereMapsGeocoder, StreetPointBulkGeocoder): MAX_BATCH_SIZE = 1000000 # From the docs MIN_BATCHED_SEARCH = 100 # Under this, serial will be used - BATCH_URL = 'https://batch.geocoder.cit.api.here.com/6.2/jobs' + BATCH_URL = 'https://batch.geocoder.api.here.com/6.2/jobs' # https://developer.here.com/documentation/batch-geocoder/topics/read-batch-request-output.html META_COLS = ['relevance', 'matchType', 'matchCode', 'matchLevel', 'matchQualityStreet'] MAX_STALLED_RETRIES = 100