Plot track(s) with a surface of a digital elevation model in three dimensions

plot3d(
  origTrack,
  simTrack = NULL,
  titleText = character(1),
  DEM = NULL,
  padding = 0.1,
  timesHeight = 10
)

Arguments

origTrack

a list containing data.frames with x,y,z coordinates or a data.frame

simTrack

a list containing data.frames with x,y,z coordinates or a data.frame

titleText

string with title of the plot

DEM

an object of type RasterLayer, needs overlapping extent with the line(s)

padding

adds a pad to the 2-D space in percentage (by default set to 0.1)

timesHeight

multiply the height scale by a scalar (by default set to 10)

Value

Plots a plotly object

Examples

plot3d(niclas)