Retrieve the URLs of all the assets intersecting a bbox from a STAC API
Source:R/valley.R
get_stac_asset_urls.Rd
Retrieve the URLs of all the assets intersecting a bbox from a STAC API
Arguments
- bb
A bounding box, provided either as a matrix (rows for "x", "y", columns for "min", "max") or as a vector ("xmin", "ymin", "xmax", "ymax"), in lat/lon coordinates (WGS84 coordinate referece system)
- endpoint
URL of the STAC API endpoint. To be provided together with
stac_collection
, or leave blank to use defaults (seedefault_stac_dem
)- collection
Identifier of the STAC collection to be queried. To be provided together with
stac_endpoint
, or leave blank to use defaults (seedefault_stac_dem
)
Examples
if (FALSE) { # interactive()
bb <- get_osm_bb("Bucharest")
get_stac_asset_urls(bb)
}