Description Usage Arguments Value Author(s) Examples
Save a RasterBrick into individual layers files GeoTIFFs
1 | lucC_save_rasterBrick_by_layers(path_name_GeoTIFF_Brick = NULL)
|
path_name_GeoTIFF_Brick |
Character. Name file and path folder to SPLIT rasterBrick by layers |
A set of GeoTIFF separate images
Adeline M. Maciel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
library(lucCalculus)
file <- c(system.file("extdata/raster/rasterItanhanga.tif", package = "lucCalculus"))
rb_class <- raster::brick(file)
# blocks saved in folder
lucC_blocks_raster_create(raster_obj = rb_class, number_blocks_xy = 2, save_images = TRUE)
lucC_blocks_raster_merge(path_open_GeoTIFFs = paste0(getwd(), "/Blocks_RasterBrick", sep = ""),
number_raster = 4, pattern_name = "Raster_Block_", is.rasterBrick = TRUE)
lucC_save_rasterBrick_by_layers(
path_name_GeoTIFF_Brick = paste0(getwd(),"/Blocks_RasterBrick/Mosaic_Raster_Block_.tif", sep = ""))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.