Raster

Creating an empty raster

Every once in awhile I need to do this, create an empty raster layer that I will then put something into. However, I only do this from time to time and usually have to go digging to learn how to do it all over again. Creating an empty raster. This uses the raster package. To create a new raster there are a few parameters that are essential: - The number of cells (as specified by the number of rows and columns) – remember that rasters are square even if the image stored in them is not.

Pseudo tiling of rasters

I am currently working on a project that involves machine learning to predict of ecological attributes across landscapes at fine spatial resolution. Our current list is consists of 80 covariates stacked together. To make predictions across the landscape significant tiling of the raster data is needed. However, the tiling process itself takes significant time and creates a tiled dataset in the thousands of tiles… There is another way!