Description Usage Arguments Value Note Author(s)
View source: R/fct_orbits_intersects.R
Function which returns the orbit IDs of the Sentinel-2 orbits which overlap a provided extent.
1 | orbits_intersects(tiles, all = FALSE, out_format = "id", .s2orbits = NULL)
|
tiles |
'sf' object with the tiles spatial extent. |
all |
logical: if TRUE, all the orbits overlapping the extent are provided; if FALSE (default), unnecessary orbits are skipped. Unnecessary orbits are orbits which overlaps the extent for an area already covered by another orbit. In case the extent is all included in an overlapping area, only one of the two candidate orbits is returned (the first in alphabetical order). |
out_format |
character: if "sf", the spatial object of the overlapping orbits is returned; if "id" (default), a character vector with the orbit IDs. |
.s2orbits |
output of [s2_orbits()] function (it is possible to pass it in order to speed up the execution; otherwise leave to NULL and it will be generated within the function). |
the orbits intersecting the extent (see argument 'out_format').
License: GPL 3.0
Pascal Obstetar (2020) pascal.obstetar@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.