dot-query_items: Queries items from a STAC endpoint

.query_itemsR Documentation

Queries items from a STAC endpoint

Description

This function queries all items of a given collection of a STAC endpoint matching a spatiotemporal extent.

Usage

.query_items(s, collection, bbox, datetime, max.items, verbose, max.cloud)

Arguments

s

A STACconnection object from the rstac package.

collection

A length one character vector indicating the name of the collection to query for items.

bbox

A numeric vector of length four indicating the spatial bounding box of the query (xmin, ymin, xmax, ymax) in geographic coordinates. Defaults to 'NULL' which will set the spatial extent to global, i.e. c(-180, -90, 180, 90).

datetime

A length one character vector indicating the start and endpoint of the temporal query.

max.items

A length one integer indicating the maximum number of items to return from a single query. Defaults to 500. Can be used for cases where large queries will lead to long query times. But if that is the case it is advisable to break up into small sub-queries so that the complete data can be downloaded.

verbose

A logical indicating the verbosity.

max.cloud

A length one integer indicating the maximum number of cloud cover in percent to qualify a scene for download. Defaults to 100 which will download all scenes matching the spatiotemporal extent.

Value

A items list object of rstac.

Author(s)

Darius Görgen (MapTailor Geospatial Consulting GbR) info@maptailor.net
Maintainer: MAPME-Initiative contact@mapme-initiative.org
Contact Person: Dr. Johannes Schielein
Copyright: MAPME-Initiative
License: GPL-3


mapme-initiative/mapme.vegetation documentation built on Feb. 10, 2023, 10:51 p.m.