Create a composite image from elements of an image collection.
gd_composite(x, ...)an object inheriting from geedim.collection.ImageCollectionAccessor (for geedim >= 2.0.0) or geedim.collection.MaskedCollection (for geedim < 2.0.0), such as from gd_search() or gd_collection_from_list(). See \link{geedim-versions} for more details.
additional arguments to geedim.collection.ImageCollectionAccessor$composite()
a composite ee.image.Image object
# \donttest{
library(terra)
#> terra 1.8.97
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())
gd_composite(gd_search(gd_collection_from_name("USGS/3DEP/1m"),
region = b),
resampling = "bilinear")
#> <geedim.image.ImageAccessor object at 0x7f995bf5e270>
# }