gen_tile_copernicus: Generate COPERNICUS tiling grid

Description Usage Arguments Details Value Author(s) References Examples

Description

Generates the COPERNICUS tiling system

Usage

1

Arguments

poly

logical value indicating whether the function should return a . Default set to FALSE

offset

numeric. Shift the tiling grid in the upper-left direction. Default to (1/112)/2. The reference position is the centre of the pixel in COPERNICUS products, while the raster package, as well as other GIS (eg QGIS) expect the reference of a grid to be at the upper-left corner. It means that the upper-left corner of the pixels is at [(pixel_longitude - angular_resolution/2),(pixel_latitude + angular_resolution/2)]

exclude

logical value indicating whether to return only tiles where COPERNICUS data are available or not. Default is TRUE

Details

See also genTile in the MODIS package

If exclude is FALSE, the logical variable availability is added to the returned object, indicating which tiles have COPERNICUS data.

Value

a data.frame or SpatialPolygonsDataFrame with h,v pairs and bounding box. See poly parameter

Author(s)

Antoine Stevens

References

Baret et al. 2010. BioPar Product User Manual. Geoland2: Towards an Operational GMES Land Monitoring Core Service, 42 p.

Examples

1
2
3
4
5
6
7
# Return a data.frame with tiling info
df <- gen_tile_copernicus()
head(df)
# Return a Spatial object
library(sp)
pol <- gen_tile_copernicus(poly = TRUE)
plot(pol)

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