heightmap_to_raster: Covert a rayshader heightmap to a Raster

View source: R/texture_to_brick.R

heightmap_to_rasterR Documentation

Covert a rayshader heightmap to a Raster

Description

retrieve rayshader texture as a RasterBrick. This is handy if you want to save the texture as to file with spatial reference or if you want to plot in an alternative package such as ggplot or tmap etc.

Usage

heightmap_to_raster(heightmap)

Arguments

texture

The texture created from a rayshader pipeline.

Value

An object of class 'RasterBrick' from the raster package. data.


h-a-graham/raytrix documentation built on Nov. 19, 2024, 10:27 p.m.