lucC_save_raster_result: Update a RasterBrick with result from predicates

Description Usage Arguments Value Author(s) Examples

View source: R/lucC_save_raster_GeoTIFF.R

Description

Update a RasterBrick with new values of pixel discovered from LUC Calculus formalism to create GeoTIFF files

Usage

1
2
lucC_save_raster_result(raster_obj = NULL, data_mtx = NULL,
timeline = NULL, label = NULL, path_raster_folder = NULL, as_RasterBrick = FALSE)

Arguments

raster_obj

Raster. A raster stack with classified images

data_mtx

Matrix. A matrix with values obtained from predicates RECUR, EVOLVE, CONVERT or HOLDS

timeline

Character. A list of all dates of classified raster, timeline

label

Character Vector. All labels of each value of pixel from classified raster

path_raster_folder

Character. Name a path folder to save raster images data. If doesn't exist, a new directory is created

as_RasterBrick

Boolean. If FALSE, each layer will be saved in separate file. If TRUE, write a RasterBrick in a file. Default is FALSE.

Value

Matrix with raster and pixels to create a RasterBrick with result

Author(s)

Adeline M. Maciel

Examples

1
2
3
4
5
6
7
8
## Not run: 

rb_new <- lucC_save_raster_result(raster_obj = rb_sits, data_mtx = third_raster.df,
timeline = timeline, label = label, path_raster_folder = NULL, as_RasterBrick = FALSE)
rb_new


## End(Not run)

ammaciel/sits.LUC.Calculus documentation built on May 3, 2019, 9:36 p.m.