alignRasters: Allign raster data by bringing it in the same geometry and...

Description Usage Arguments Value Author(s)

View source: R/spatial_datahandling.R

Description

If the data is not in the same projection as the template, the allignment will be computed by reprojection only. If the data has already the same projection, the data set will be croped and aggregated prior to resampling in order to reduce computation time.

Usage

1
2
alignRasters(data, template, method = "bilinear", func = mean,
  cl = T, expand = TRUE)

Arguments

data

raster layer to be resampled

template

raster or spatial data set from which geometry can be extracted

method

method for resampling ("ngb" or "bilinear")

cl

Should cluster computation be used (Default=T)

Value

raster layer containing geometrically alligned data

Author(s)

Martin Jung

Thomas Nauss


Martin-Jung/naturepackage documentation built on Nov. 22, 2019, 12:04 a.m.