Replace each pixel of an image file by a given set of values. Every value in the original image must be mapped, even if the updated value is the same. It returns a raster in memory with the updated values.
1 | remapRaster(file, replacements)
|
file |
A tiff file. |
replacements |
A vector with the code of classes to be remapped according to its position. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.