View source: R/gdal_raster_functions.R
gdalReproject | R Documentation |
Faster reprojectiom of rasters using gdal
gdalReproject( inpath, outpath, xres, yres = xres, s_srs, t_srs, resampling = "bilinear", extent = NULL, ot = "Float32", of = "GTiff", return.raster = TRUE )
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.