warp {GSIF} | R Documentation |
Reproject and resample using (GDAL) warp program.
## S4 method for signature '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 signature '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)
obj |
object of class |
proj4s |
character; proj4string describing the target coordinate system |
GridTopology |
optional grid topology from sp package |
pixsize |
grid cell size in decimal degrees |
resampling_method |
character; resampling method (see gdalwarp options) |
NAflag |
character; missing value flag |
tmp.file |
logical; specifies whether a temporary file name should be generated |
show.output.on.console |
logical; specifies whether to print out the progress |
program |
full path to the (GDAL) warp program |
FWTools must be installed separately. See also gdalUtils package.
Tomislav Hengl
make.3Dgrid
, plotKML::reproject