render_point_cropped_scene: Create a cropped scene

Description Usage Arguments

View source: R/render_cropped_scene.R

Description

Create a cropped scene

Usage

1
2
render_point_cropped_scene(ray_image, datamat, position, position_next,
  window = 100, zscale = 5, zoom = 0.4, windowsize = c(500, 500))

Arguments

ray_image

Rayshaded image created with sphere_shade, add_shadow, ...

datamat

Original raster transformed as matrix with t(as.matrix(raster))

position

dataframe of point coordinates in the rayshader system as created using sf_proj_as_ray()

position_next

dataframe of another point coordinates in the rayshader system as created using sf_proj_as_ray()

window

size of the square window in pixels around the position

zscale

Ratio between Z and x/y. Adjust the zscale down to exaggerate elevation features. Better to use the same for the entire workflow.

zoom

Zoom factor. Reduce to zoom in.

windowsize

Size of the rgl window


statnmap/maps2ray documentation built on Dec. 7, 2019, 12:29 a.m.