mapper.vdist
mapperThis mapper function computes the total distance traveled in the vertical plane in the sliding window.
The distance is computed by summing the distances between consecutive elevations (this differs from the computation done in mapper.vspeed
)
The associated location and elevation are those at the tick being computed if it is part of the sliding window.
The computed distance is expressed in meters.
The mapper.vdist
function can be applied to data of any type since it only considers locations.