View source: R/gdal_raster_functions.R
gdalMask | R Documentation |
Mask function using gdal
gdalMask(inpath, inmask, outpath, return.raster = FALSE)
inpath |
file path of the inpath raster |
inmask |
file path which is NA for cells to mask and 1 for cells to keep. |
outpath |
file path of the output 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.