From 8edbf33ff1008e2123b6b77a304414dc9634932f Mon Sep 17 00:00:00 2001 From: Mario de Frutos Date: Tue, 29 Nov 2016 16:10:59 +0100 Subject: [PATCH] Added denoise and generalize options to make the ischrones less heavy --- .../cartodb_services/cartodb_services/mapzen/isochrones.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/lib/python/cartodb_services/cartodb_services/mapzen/isochrones.py b/server/lib/python/cartodb_services/cartodb_services/mapzen/isochrones.py index 414b71f..ef1347e 100644 --- a/server/lib/python/cartodb_services/cartodb_services/mapzen/isochrones.py +++ b/server/lib/python/cartodb_services/cartodb_services/mapzen/isochrones.py @@ -73,7 +73,9 @@ class MapzenIsochrones: request_params = { 'json': json.dumps({'locations': [locations], 'costing': mode_source, - 'contours': contours}), + 'contours': contours, + 'generalize': 50, + 'denoise': .3}), 'api_key': self._app_key }