| items | R Documentation |
The items function implements WFS3
/collections/{collectionId}/items, and
/collections/{collectionId}/items/{featureId} endpoints.
Each endpoint retrieves specific STAC objects:
/collections/{collectionId}/items: Returns a STAC Items
collection (GeoJSON)
/collections/{collectionId}/items/{itemId}: Returns a
STAC Item (GeoJSON Feature)
The endpoint /collections/{collectionId}/items accepts the same
filters parameters of stac_search() function.
items(q, feature_id = NULL, datetime = NULL, bbox = NULL, limit = NULL)
q |
a |
feature_id |
a |
datetime |
a Examples:
Only features that have a |
bbox |
a
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84). The values are, in most cases, the sequence of minimum longitude, minimum latitude, maximum longitude, and maximum latitude. However, in cases where the box spans the antimeridian, the first value (west-most box edge) is larger than the third value (east-most box edge). |
limit |
an |
A rstac_query object with the subclass items for
/collections/{collection_id}/items endpoint, or a
item_id subclass for
/collections/{collection_id}/items/{feature_id} endpoint,
containing all search field parameters to be provided to STAC API web
service.
get_request(), post_request(),
collections()
## Not run:
stac("https://brazildatacube.dpi.inpe.br/stac/") %>%
collections("CB4-16D-2") %>%
items(bbox = c(-47.02148, -17.35063, -42.53906, -12.98314)) %>%
get_request()
stac("https://brazildatacube.dpi.inpe.br/stac/") %>%
collections("CB4-16D-2") %>%
items("CB4-16D_V2_000002_20230509") %>%
get_request()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.