radiantearth / stac-api-spec

SpatioTemporal Asset Catalog API specification - an API to make geospatial assets openly searchable and crawlable
http://stacspec.org
Apache License 2.0
220 stars 46 forks source link

Number of items count definition in the spec #442

Closed keul closed 3 months ago

keul commented 10 months ago

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.

m-mohr commented 10 months ago

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 commented 3 months ago

Related to #447