Skip to content

STAC: Add Support for ids, collections query parameters in STAC search endpoint #2372

Description

@rajadain

Is your feature request related to a problem? Please describe.

Currently the STAC Search API supports bbox, datetime, limit, and offset query parameters:

for qp in ['bbox', 'datetime', 'limit', 'offset']:
if qp in request_data:
if qp == 'bbox' and isinstance(request_data[qp], list):
request_params[qp] = ','.join(str(b) for b in request_data[qp]) # noqa
else:
request_params[qp] = request_data[qp]

To add capabilities of STAC Simple Search, we need to add support for ids and collections parameters. intersects is optional in the spec, and since we already support bbox, that can be deferred for now.

Describe the solution you'd like

Support of ids and collections filters.

Describe alternatives you've considered

This could potentially be filtered on the client side, but that is not ideal.

Additional context

N/A

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions