Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add /statistics endpoints #340

Closed
vincentsarago opened this issue Jul 19, 2021 · 0 comments · Fixed by #347
Closed

add /statistics endpoints #340

vincentsarago opened this issue Jul 19, 2021 · 0 comments · Fixed by #347
Labels
enhancement New feature or request

Comments

@vincentsarago
Copy link
Member

We already have metadata endpoints which return basic statistics (percentile/min/max/stdev and histogram but I think we would be nice to have more advances statistics a bit like https://github.com/perrygeo/python-rasterstats/blob/master/src/rasterstats/main.py#L223-L258

idea is to add 2 endpoints:

  • GET /statistics: return stats for the whole dataset
  • POST /statistics: return stats for a geojson feature covering the dataset
@vincentsarago vincentsarago added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant