warp: (GDAL) warp function from FWTools

Description Usage Arguments Note Author(s) See Also

Description

Reproject and resample using (GDAL) warp program.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

Arguments

obj

object of class "SpatialPixelsDataFrame" or class "RasterLayer"

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

Note

FWTools must be installed separately. See also gdalUtils package.

Author(s)

Tomislav Hengl

See Also

make.3Dgrid, plotKML::reproject


GSIF documentation built on May 2, 2019, 5:44 p.m.

Related to warp in GSIF...