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

/collections/{collectionId}/items endpoint only does not apply bbox or datetime parameters to results #380

Closed
philvarner opened this issue Mar 24, 2022 · 4 comments
Labels
api layer spec Compliance with STAC/OGC specifications
Milestone

Comments

@philvarner
Copy link
Collaborator

It looks like of the limit parameter is the only parameter that gets applied to the /collections/{collectionId}/items endpoint.

This would probably be acceptable if the server only advertised the STAC API - Features conformance class (https://api.stacspec.org/v1.0.0-beta.4/ogcapi-features"), as the spec says (https://github.com/radiantearth/stac-api-spec/tree/master/ogcapi-features):

Implementations may optionally provide support for the full superset of STAC API query parameters to the /collections/{collectionId}/items endpoint, where the collection ID in the path is equivalent to providing that single value in the collections query parameter in STAC API.

(It's a separate issue as to if this should require the same as OAFeat, but that's TBD)

However, the server advertises the OAFeat class http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core, which means that
bbox and datetime must also be accepted as filtering parameters.

@philvarner philvarner added the spec Compliance with STAC/OGC specifications label Mar 24, 2022
@philvarner philvarner changed the title /collections/{collectionId}/items endpoint only applies limit parameter to results /collections/{collectionId}/items endpoint only does not apply bbox or datetime parameters to results Mar 25, 2022
@m-mohr
Copy link
Contributor

m-mohr commented Jun 28, 2022

Support for bbox and datetime would be a nice addition, indeed. It leads to confusion at least: microsoft/planetary-computer-apis#100

@carderne
Copy link
Contributor

@philvarner @m-mohr might be worth having your input on this PR: #477

@gadomski gadomski self-assigned this Jan 31, 2023
@gadomski gadomski added this to the 2.4.4 milestone Jan 31, 2023
@gadomski gadomski modified the milestones: 2.4.4, 2.5.0 Mar 1, 2023
@gadomski gadomski removed their assignment May 12, 2023
@Mec-iS
Copy link

Mec-iS commented Aug 2, 2024

can this be closed?

@vincentsarago
Copy link
Member

yes, we can now extend the /items endpoint with bbox, datetime and other parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api layer spec Compliance with STAC/OGC specifications
Projects
None yet
Development

No branches or pull requests

7 participants