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

Clarify sort #15

Open
m-mohr opened this issue Apr 19, 2024 · 0 comments
Open

Clarify sort #15

m-mohr opened this issue Apr 19, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@m-mohr
Copy link
Collaborator

m-mohr commented Apr 19, 2024

From @ycespb at radiantearth/stac-browser#431

StacBrowser sends sorting requests to the server (for collection search) using property names such as "properties.title" while these paths do not exist in the STAC JSON representation of the collection as "properties" does not exist. The path "title" does exist. Similarly, properties.datetime is used as sorting key for collections. Should "extent/temporal/interval" not be used instead in the requests to sort by date ? Maybe the explanation in https://github.com/stac-api-extensions/collection-search ("it works as it does for Items") could be more explicit if the intention is to use the same paths even when they do not really exist in the response...

This need to be worked out better in the Collection Search spec and then be adapted in STAC Browser, too.

@m-mohr m-mohr added bug Something isn't working documentation Improvements or additions to documentation labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant