Create a Rayshader animation of a GPX table

video_animation_rayshade(gpx_table, elevdata, bbox_arcgis = NULL,
  number_of_screens = 500, title = "Cycling Trip", places = NULL,
  output_file_loc = tempfile(fileext = ".mp4"), width = 1200,
  height = 800, flyin = list(theta = c(280, 250), zoom = c(0.6, 1.5),
  phi = c(58, 33), duration = 4), overwrite = TRUE)

Arguments

gpx_table

data.frame gpx table created by get_enriched_gpx_table

elevdata

data.frame elevation data reveiced by get_elevdata_from_bbox

bbox_arcgis

list Boundary Box to derive boundaries of an area derived by get_bbox_from_gpx_table(..., arcgis = TRUE)

number_of_screens

numeric Number of frames the animation should have

title

character The introductory title shown in an infly video

places

data.frame containing some places where large labels should be added during the video. needs to have the columns lon, lat, label, title

output_file_loc

character Where to store the output mp4 file.

width

numeric Width of the screen to render

height

numeric height of the 3d window

flyin

list parameters of video_util_infly

overwrite

logical Whether the final video file can be overwritten