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

Collection counts in spec? #355

Closed
moradology opened this issue Nov 3, 2022 · 4 comments
Closed

Collection counts in spec? #355

moradology opened this issue Nov 3, 2022 · 4 comments
Labels

Comments

@moradology
Copy link

We don't mandate counts on searches for performance reasons (dynamic search results are of unpredictable size and anticipating returned object counts will not necessarily be easy in all API implementations) but it seems that such counts may be useful and very easy to implement at the level of collections. I've encountered some interest in this feature, what do others think?

@cholmes
Copy link
Collaborator

cholmes commented Nov 3, 2022

There is an extension, that was designed to work with static collections and API's, see https://github.com/stac-extensions/stats

I don't think any servers have yet implemented it, but I hope they do before too long.

@philvarner
Copy link
Collaborator

philvarner commented Nov 6, 2022

This would also be part of the

e.g., you could run the same query with /search and /aggregate, and get either a page of results or the stats on the results

@philvarner
Copy link
Collaborator

philvarner commented Jan 30, 2023

@philvarner
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants