Create a ggplot2 plot object with a third dimension thanks to ggrgl. The x and y coordinates are the longitude and latitude, the z dimension is the elevation along the route. The chart title includes the total distance, elevation disparity, plus the date and start/end times.
plot_gpx3d(route_df, route_only = FALSE)
A data.frame, optionally sf-class. Output from must be in the
format output via extract_gpx3d
.
Logical. Retain all chart elements if FALSE
(default) or retain only the route path if FALSE
.
An interactive 3D rendering of the route path in a devoutrgldevice.
if (FALSE) {
x <- extract_gpx3d(gfx_segment)
plot_gpx3d(y)
}