Description Usage Arguments Details See Also
create a directory with the classifications, replacing each pixel of each image by a given set of values. Every value in the original image must be mapped, even if the updated value is the same.
1 | remapDirectory(inputDir, outputDir, replacements, overwrite = FALSE)
|
inputDir |
Input directory. It must be a relative path within baseDir(). |
outputDir |
Output directory. It will be cleaned before processing the files. It must also be a relative path within baseDir(). |
replacements |
A vector with the code of classes to be remapped according to its position. |
overwrite |
Should output files be overwritten? |
legend |
A legend, that can be created with readLegend(). |
This function also creates a qml file with the colors of the pixels.
remapRaster()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.