Description Usage Arguments Details Value Author(s) Examples
Get COPERNICUS tile(s) position and name for a given extent or tile (H,V) pairs
1 | get_tile_copernicus(extent,tileH,tileV,...)
|
extent |
an object of class |
tileH |
H index of the tile COPERNICUS system ( |
tileV |
V index of the tile COPERNICUS system ( |
... |
argument passed to |
One should choose to use either an extent or pairs of (H,V) values
If extent
is of class Extent
, then it is supposed to be in geographical coordinates.
If extent
is of class Raster*
or SpatialPolygons*
they should have a coordinate system.
Part of the code has been grabed from the MODIS
package v0.31
data.frame
with tile(s) info: h, v, xmin, xmax, ymin, ymax
Antoine Stevens and Matteo Mattiuzzi (MODIS package)
1 2 3 4 5 6 | library(raster)
# using an extent object
e <- extent(10,25,45,50) # xmin,xmax,ymin,ymax
suppressWarnings(get_tile_copernicus(extent = e))
# using (H,V) pairs
get_tile_copernicus(tileH = 19:20, tileV = 4:5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.