opengeospatial / ogcapi-connected-systems

Public Repository for the Connected Systems SWG
Other
8 stars 6 forks source link

[Feature Request] Add `earliest/first` to dateTimeSchema #64

Open SpeckiJ opened 3 months ago

SpeckiJ commented 3 months ago

Currently the special keywords: "now" and "latest" are supported for querying via time:

https://github.com/opengeospatial/ogcapi-connected-systems/blob/2904f1c2574733e7b38667361547b3a7d0c0249c/api/part1/openapi/parameters/datetimeSchema.yaml#L17

For clients it would be nice to also have earliest/first as a reference point. Without this there is no real straightforward way to get the earliest observation in a datastream. Especially for giving an overview of the data this is often required.

While the Datastream itself also has a phenomenonTime, this is often only a very broad timeframe (e.g. the length of the overall measurement campaign) and not necessarily the actual timeframe of the first observation.

alexrobin commented 1 month ago

Discussed during 09/19 telecon. Ok to add earliest. (mandatory like other options in the enum)