View source: R/gdal_raster_functions.R
gdalCrop | R Documentation |
Crop function using gdal
gdalCrop( inpath, outpath, extent = NULL, resolution = NULL, return.raster = TRUE )
inpath |
file path of the inpath raster |
outpath |
file path of the output raster |
extent |
extent for raster to be cropped to |
resolution |
resolution of output raster (usually based on the inpath raster) |
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.