Reproject and resample using (GDAL) warp program.
# S4 method for SpatialPixelsDataFrame
warp(obj, proj4s = proj4string(obj),
GridTopology = NULL, pixsize,
resampling_method = "bilinear",
NAflag = get("NAflag", envir = GSIF.opts),
tmp.file = FALSE, show.output.on.console = FALSE, program)
# S4 method for RasterLayer
warp(obj, proj4s = proj4string(obj),
GridTopology = NULL, pixsize,
resampling_method = "bilinear",
NAflag = get("NAflag", envir = GSIF.opts),
tmp.file = FALSE, show.output.on.console = FALSE, program)
object of class "SpatialPixelsDataFrame"
or class "RasterLayer"
character; proj4string describing the target coordinate system
optional grid topology from sp package
grid cell size in decimal degrees
character; resampling method (see gdalwarp options)
character; missing value flag
logical; specifies whether a temporary file name should be generated
logical; specifies whether to print out the progress
full path to the (GDAL) warp program
make.3Dgrid
, plotKML::reproject