View source: R/gdal_raster_functions.R
gdalResample | R Documentation |
Resample raster to different resolution
gdalResample( inpath, outpath = NULL, resolution = NULL, method = "bilinear", bigtif = FALSE, return.raster = TRUE )
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.