Skip to contents

Provides functions to access, search and download spacetime earth observation data via SpatioTemporal Asset Catalog (STAC). This package supports the version 1.0.0 (and older) of the STAC specification ( For further details see Simoes et al. (2021) doi:10.1109/IGARSS47720.2021.9553518 .

The rstac functions

The rstac package provides two categories of functions: API endpoints and data access and organization.

STAC API endpoints functions

  • stac(): implements STAC /stac endpoint for version 0.8.1 or below, and / for versions 0.9.0 or higher.

  • conformance(): implements /conformance endpoint.

  • collections(): implements /collections and /collections/{collectionId} endpoints.

  • items(): implements /collections/{collectionId}/items and /collections/{collectionId}/items/{featureId} endpoints.

  • queryables(): implements /queryables and /collections/{collectionId}/queryables endpoints.

  • stac_search(): implements STAC /stac/search endpoint for version 0.8.1 or below, and /search endpoint for versions 0.9.0 or higher.

  • ext_filter(): implements /filter CQL2 endpoint.

Data access and organization functions

Data types

The package implements the following S3 classes: STACItemCollection, STACItem, STACCatalog, STACCollectionList and STACCollection. These classes are regular lists representing the corresponding JSON STAC objects.


Maintainer: Felipe Carvalho


Other contributors:

  • National Institute for Space Research (INPE) [copyright holder]