gd_composite | R Documentation |
Create a composite image from elements of an image collection.
gd_composite(x, ...)
x |
an object inheriting from |
... |
additional arguments to |
a composite geedim.mask.MaskedImage
object
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())
gd_composite(gd_search(gd_collection_from_name("USGS/3DEP/1m"),
region = b),
resampling = "bilinear")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.