Get Properties of an Image Collection

gd_properties(x)

Arguments

x

A geedim.collection.ImageCollectionAccessor (for geedim >= 2.0.0) or geedim.collection.MaskedCollection (for geedim < 2.0.0) object. See \link{geedim-versions} for more details.

Value

data.frame containing properties table from x; NULL if no properties table.

Examples

if (FALSE) { # gd_is_initialized() && !inherits(requireNamespace("terra", quietly = TRUE), "try-error")
# \donttest{
library(terra)

b <- terra::vect('POLYGON((-121.355 37.560, 
                           -121.355 37.555,
                           -121.350 37.555, 
                           -121.350 37.560,
                           -121.355 37.560))',
                 crs = "OGC:CRS84")

if (gd_is_initialized()) {
  x <- gd_search(gd_collection_from_name("USGS/3DEP/1m"),
                 region = gd_region(b))
  gd_properties(x)
}
# }
}