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

Aggregation Extension #257

Open
drnextgis opened this issue Apr 17, 2024 · 1 comment
Open

Aggregation Extension #257

drnextgis opened this issue Apr 17, 2024 · 1 comment

Comments

@drnextgis
Copy link
Collaborator

drnextgis commented Apr 17, 2024

It would be nice to have it but I'm uncertain about the performance of aggregating with PostgeSQL since this storage isn't designed for such tasks.

https://github.com/stac-api-extensions/aggregation

@bitner
Copy link
Collaborator

bitner commented Apr 17, 2024

Yeah, this has definitely been on my back burner. Much like the context extension, for very large STAC repositories, pgstac is not going to be able to perform nearly as well as something like ElasticSearch but it can still be super useful, especially when combined with filters that limit the amount of data that would need to be represented in the aggregation.

I think a good first step without implementing configurable general purpose aggregation would be to have an endpoint that follows the aggregation extension and just did a count per collection (which given that collections are partitions, we could even do as estimated counts much like the estimated count we have as an option for the context extension).

I'm not entirely sure when I'll get around to this though. I'd definitely be happy to pair with someone to work on this!

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

No branches or pull requests

2 participants