Closed jamesfisher-gis closed 4 weeks ago
That's great to see movement in that direction! I have some questions/comments.
AggregationExtensionPostRequest
is defined but not used.filter
extension or solely with the search API?Thanks in advance.
Thank you for the comments @drnextgis
AggregationExtensionPostRequest
is defined but not used.
Ah, yes. The aggregation extension spec defines the methods for /aggregate
and /aggregation
should be get or post. I will add post to the available methods.
- Is it meant to be used with the
filter
extension or solely with the search API?
The aggregation extension spec as-is relies only on the core item-search afaik. However, the one implementation in stac-server includes cql2 query
parameter, meaning it relies on the Filter extension. @philvarner may have an opinion on if that is something specific to the implementation, or if there are updates needed in the Aggregation extension spec.
- Are there any changes that need to be made in stac-fastapi-pgstac or in pgstac to make it compatible with that backend?
I am working on an implementation for elasticsearch and opensearch. I am not sure how an implementation would be handled in pgstac.
Hey @philvarner let me know what you think of the changes to this PR. I think it is close to being complete.
Need to resolve conflicts too
Let's get @vincentsarago thoughts on this
Linting
Linting
@jonhealy1 Sorry, fixed
@vincentsarago Hi Vincent. How does this look now?
Great work @jamesfisher-gis
Related Issue(s):
567
Description:
Adds base support for the STAC API Aggregation Extension
PR Checklist:
pre-commit
hooks pass locallymake test
)make docs
)