Commit 99594c91 authored by Niklas Selke's avatar Niklas Selke
Browse files

enabled the radius parameter for the ecoregion and landcover services with description=True

parent 34bbbfaf
Pipeline #98528 passed with stages
in 51 seconds
......@@ -493,7 +493,8 @@ class DescriptionMixin:
query_params = super().get_query_params(params)
query_params['description'] = self.get_description_param(params)
if query_params['description']:
query_params['radius'] = 25000.
if query_params['radius'] is None:
query_params['radius'] = 25000.
query_params['agg'] = 'counts'
self.STATS['counts'] = partial(np.unique, return_counts=True)
return query_params
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment