Added denoise and generalize options to make the ischrones less heavy

This commit is contained in:
Mario de Frutos
2016-11-29 16:10:59 +01:00
parent bd439d8985
commit 8edbf33ff1

View File

@@ -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
}