View source: R/gdal_raster_functions.R
gdalReclassify | R Documentation |
Reclassify raster using gdal_calc
gdalReclassify( inpath, outpath, reclassify_list = NULL, calc_fun = NULL, overwrite = TRUE, return.raster = TRUE )
inpath |
file path of inpath file to change. |
outpath |
file path of output file to generate. |
reclassify_list |
A list of values to reclassify, the value will be assigned by list index, e.g the first element will be made 1 and so forth. Values associated with that list will be converted to that number. |
calc_fun |
A text function that follows the "https://gdal.org/programs/gdal_calc.html" syntax. |
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.