camptocamp / oapi-poc

OGC API & STAC - Proof of Concept
BSD 3-Clause "New" or "Revised" License
33 stars 3 forks source link

"datetime" parameter not supported in endpoint /items ? #3

Closed p1d1d1 closed 2 years ago

p1d1d1 commented 2 years ago

@b4l I think there is an issue with the 'datetime' parameter. It seems to me that is is not supported/implemented in the endpoint:

/collections/{collectionId}/items

The following request should return only 1 Item: https://poc.meteoschweiz-poc.swisstopo.cloud/root/collections/35ff8133-364a-47eb-a145-0d641b706bff/items?datetime=2022-07-04T13:46:00Z

Same kind of request on the /search endpoint is working: https://poc.meteoschweiz-poc.swisstopo.cloud/root/search?collections=35ff8133-364a-47eb-a145-0d641b706bff&datetime=2022-07-04T13:46:00Z

b4l commented 2 years ago

fixed in https://github.com/camptocamp/oapi-poc/commit/61c68a5862e639cd0e664c8ee49ecea2f02d87bd