lucC_create_blocks: Create blocks from RasterBrick in accordance with number of...

Description Usage Arguments Value Author(s) Examples

Description

Provide a data.frame with spatially aggregats the original raster it turns each aggregated cell into a polygon then the extent of each polygon is used to crop the original raster. https://stackoverflow.com/questions/29784829/r-raster-package-split-image-into-multiples

Usage

1
lucC_create_blocks (raster_obj = NULL, number_blocks_xy = 6, save_images = TRUE)

Arguments

raster_obj

Raster. A raster stack with classified images

number_blocks_xy

Numeric. A number of peaces to split raster, consider 2 peaces the raster will be cropped into 4 blocks. Default is 6

save_images

Boolean. Write raster in file. Default is TRUE

Value

List with all the pieces in case you want to keep them in the memory.

Author(s)

Adeline M. Maciel

Examples

1
2
3
4
5
6
## Not run: 

lucC_create_blocks(raster_obj = rb_sits2, number_blocks_xy = 6, save_images = TRUE)


## End(Not run)

ammaciel/lucCalculus documentation built on May 17, 2019, 6:37 p.m.