gdalResample: Resample raster to different resolution

View source: R/gdal_raster_functions.R

gdalResampleR Documentation

Resample raster to different resolution

Description

Resample raster to different resolution

Usage

gdalResample(
  inpath,
  outpath = NULL,
  resolution = NULL,
  method = "bilinear",
  bigtif = FALSE,
  return.raster = TRUE
)

Arguments

inpath

file path of inpath file to change.

outpath

file path of output file to generate.

resolution

desired new resolution for x and y.

method

resample method, default is nearest neighbour which is fast but dodgy. Options are: "near", "bilinear", "cubic", "cubicspline",

bigtif

if TRUE deal with a big geotiff slightly differently.

return.raster

if TRUE raster will be returned from function call.


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