crim-ca / weaver

Weaver: Workflow Execution Management Service (EMS); Application, Deployment and Execution Service (ADES); OGC API - Processes; WPS; CWL Application Package
https://pavics-weaver.readthedocs.io
Apache License 2.0
23 stars 6 forks source link

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

Open fmigneault opened 1 month ago

fmigneault commented 1 month ago

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