View source: R/landsat_platform_filter.R
landsat_platform_filter | R Documentation |
Filter Landsat features to only specific platforms
landsat_platform_filter(items, platforms)
items |
A |
platforms |
A vector of acceptable platforms, for instance |
A STACItemCollection
.
aoi <- sf::st_point(c(-74.912131, 44.080410))
aoi <- sf::st_set_crs(sf::st_sfc(aoi), 4326)
aoi <- sf::st_buffer(sf::st_transform(aoi, 5070), 100)
landsat_image <- get_landsat_imagery(
aoi,
start_date = "2022-06-01",
end_date = "2022-08-30",
item_filter_function = landsat_platform_filter
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.