gd_properties | R Documentation |
Get Properties of an Image Collection
gd_properties(x)
x |
|
data.frame
containing properties table from x
; NULL
if no properties table.
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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.