Description
sat-search uses the parameters page
and limit
when the number of Items is more than limit
.
This is not compliant with STAC because STAC doesn't specify a mechanism to do paging. The assumption is that all results will be returned, although this may cause errors in some implementations, such as sat-api (see #69 ).
See the STAC issue discussing this:
radiantearth/stac-spec#381
One possible solution is to remove paging and instead use the next
links. However, next
links unless combined with caching and session tokens, can fail if combined with lengthy POST rather than GET requests.
If paging remains implementation specific then it will be difficult to make sat-search generalized enough to work with all implementations when the number of items searched for is larger than the max response size for the given implementation.