Skip to contents

Searches the collection with a GET request, falling back to POST when the API rejects GET, and fetches every page of results via rstac::items_fetch().

Usage

stac_query(bbox, stac_source, collection, start_date, end_date, limit = 999)

Arguments

bbox

Length-4 numeric, EPSG:4326 (xmin, ymin, xmax, ymax).

stac_source

STAC API root URL.

collection

Collection id.

start_date, end_date

Dates (any lubridate-parseable form).

limit

Page size requested from the API.

Value

An rstac doc_items object.