lucC_save_GeoTIFF: Save a RasterBrick reclassified in Folder

Description Usage Arguments Value Author(s) Examples

View source: R/lucC_save_raster_GeoTIFF.R

Description

Save new_raster reclassified in a diretory defined by user

Usage

1
2
lucC_save_GeoTIFF(raster_obj = NULL, data_mtx = NULL,
path_raster_folder = NULL, as_RasterBrick = FALSE)

Arguments

raster_obj

Raster. A raster stack with classified images

data_mtx

Matrix. A matrix with pixel replaced, can be obtined using lucC_update_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

Raster in geotiff format to open using SIG

Author(s)

Adeline M. Maciel

Examples

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

# save rasters in folder
lucC_save_GeoTIFF (raster_obj_crs = rb_sits, data_mtx = new_raster,
path_raster_folder = "~/Desktop/raster", as_RasterBrick = FALSE)


## End(Not run)

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