gdalReproject: Faster reprojectiom of rasters using gdal

View source: R/gdal_raster_functions.R

gdalReprojectR Documentation

Faster reprojectiom of rasters using gdal

Description

Faster reprojectiom of rasters using gdal

Usage

gdalReproject(
  inpath,
  outpath,
  xres,
  yres = xres,
  s_srs,
  t_srs,
  resampling = "bilinear",
  extent = NULL,
  ot = "Float32",
  of = "GTiff",
  return.raster = TRUE
)

Arguments

inpath

file path of the inpath raster

outpath

file path of the output raster

xres

resolution of output raster x direction.

yres

resolution of output raster y direction - default is the same as xres.

resampling

The method to resample the raster, default is "bilinear"

extent

The extent of the output raster: xmin, ymin, xmax, ymax

ot

The data output type, default is "Float32".

of

The file output format, default is "GTiFF".

return.raster

Default TRUE, if TRUE return the processed raster to the R environment.

s_src

the EPSG projection of the original raster

t_src

the EPSG projection of the output raster


skiptoniam/sense documentation built on March 18, 2023, 4:36 a.m.