stac-api-spec icon indicating copy to clipboard operation
stac-api-spec copied to clipboard

Number of items count definition in the spec

Open keul opened this issue 2 years ago • 2 comments

Following a thread on the STAC chatroom on gitter.

It seems that the spec doesn't fully define a "number of items returned" value for collections, although it defines pagination.

The same is defined for items instead by using numberMatched/numberReturned: https://github.com/radiantearth/stac-api-spec/blob/v1.0.0/fragments/itemcollection/README.md

I'm wondering is this can be extended to collections too in STAC spec 1.0.1 or similar.

keul avatar Dec 12 '23 11:12 keul

numberMatched and numberReturned as defined for the items endpoints in STAC API - Features should probably also be ported over to STAC API - Collections for the collections endpoint.

m-mohr avatar Dec 14 '23 20:12 m-mohr