tileRaster: Tile 'Raster*' object with or without overlap

Description Usage Arguments Value References Examples

Description

Tile Raster* object using an optional overlap between the tiles.

Usage

1
2
tileRaster(raster, tilenbr = c(2, 2), overlap = 0, outpath = NULL,
  subpath = NULL)

Arguments

raster

Raster*. Object that should be tiled.

tilenbr

'integer'. Vector given the number of tiles in c(x,y) direction.

overlap

'integer'. Overlap in pixels between the individual tiles. Default NULL does not include any overlap.

outpath

'character'. Top level path of the output files.

subpath

'character'. Path created within each tile path (e.g. for naming the product).

Value

None. Tiles are written to GeoTiff files in directory outpath.

References

NONE

Examples

1
2
3
\notrun{
tileRaster(raster = ndvi, tilenbr = c(5,4), overlap = 30, outpath = modis_tiles)
}

environmentalinformatics-marburg/satelliteTools documentation built on May 16, 2019, 8:16 a.m.