stack_to_ray.RdImage and elevation to Rayshader
stack_to_ray(elevation, image = NULL)
| elevation | Raster for elevation or path to elevation raster with same number of rows/cols |
|---|---|
| image | RasterStack or path to png image. If not same dimension, image is resampled |
A list with 'elevation' for the elevation matrix and 'overlay' for the rgb overlay from the 'image'