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

order=ASC|DESC to be correctly combined with the defined sort field #643

Open
Tracked by #102
fmigneault opened this issue May 9, 2024 · 0 comments
Open
Tracked by #102
Assignees
Labels
project/OGC Related to OGC testbeds or relavant projects. triage/feature New requested feature.

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented May 9, 2024

The proposed method by OGC API Features is to combine order into sortby using a prefix + or - before the field by which to sort. For example, sortby=+field,-other.

https://github.com/opengeospatial/ogcapi-features/blob/f810f6652c637cbc045e5baae726e83b9ccaa6d0/proposals/search/standard/schemas/query.json#L42-L49

Consider that CQL2 filter can also be employed for the sorting capability

@fmigneault fmigneault self-assigned this Jun 19, 2024
@fmigneault fmigneault added the project/OGC Related to OGC testbeds or relavant projects. label Jun 19, 2024
@github-actions github-actions bot added the triage/feature New requested feature. label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project/OGC Related to OGC testbeds or relavant projects. triage/feature New requested feature.
Projects
None yet
Development

No branches or pull requests

1 participant