Retrieve the edges in a graph corresponding to the flight transition defined by a path. These
edges can be useful to extract flight information specific to a path.
Value
Data.frame of the edge containing:
s: index in 3D (lat-lon-stap) of the origin (source).t: index in 3D (lat-lon-stap) of the destination (target).lat_s: latitude of the origin (source).lat_t: latitude of the destination (target).lon_s: longitude of the origin (source).lon_t: longitude of the destination (target).stap_s: stationary period of the origin (source).stap_t: stationary period of the destination (target).distance: Distance (in km) of the flight.start: end of the flight.end: start of the flight.duration: duration of the flight.n: number of flight.gs: groundspeed vector expressed as a complex number. You can compute the groundspeed value (km/h) withabs(gs), the W-E and S-N component of the flight withRe(gs)andIm(gs), and the angle/direction withArg(gs). If graph provided.ws: if computed withgraph_add_wind(), same value asgs. Airspeed is computed withas = gs - wsin complex number to keep the vectorial additive properties. If graph provided.
See also
Other path:
ind2path(),
path2elevation(),
plot_path()
