get_tile_copernicus: Get COPERNICUS tile(s) for a given extent

Description Usage Arguments Details Value Author(s) Examples

Description

Get COPERNICUS tile(s) position and name for a given extent or tile (H,V) pairs

Usage

1
get_tile_copernicus(extent,tileH,tileV,...)

Arguments

extent

an object of class Raster*, Extent or SpatialPolygons* giving the extent from which tiles info is retrieved

tileH

H index of the tile COPERNICUS system (numeric or character)

tileV

V index of the tile COPERNICUS system (numeric or character)

...

argument passed to gen_tile_copernicus

Details

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

Value

data.frame with tile(s) info: h, v, xmin, xmax, ymin, ymax

Author(s)

Antoine Stevens and Matteo Mattiuzzi (MODIS package)

Examples

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)

antoinestevens/copernicus documentation built on May 10, 2019, 12:23 p.m.