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

# \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)
}
#>                                                                        id
#> 1                  USGS/3DEP/1m/USGS_1M_10_x64y416_CA_SanJoaquin_2021_A21
#> 2 USGS/3DEP/1m/USGS_1M_10_x64y416_CA_UpperSouthAmerican_Eldorado_2019_B19
#>         date
#> 1 2006-01-01
#> 2 2006-01-01
# }