warp {GSIF}R Documentation

(GDAL) warp function from FWTools

Description

Reproject and resample using (GDAL) warp program.

Usage

## 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


[Package GSIF version 0.5-3 Index]