Loading

mapper.vdist


mapper
Since v1.0.11
Available on all platforms
See also

This 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.

Signature

Examples

[ [ NEWGTS "GTS1" RENAME 10 45.0 4.0 25000 5.0 ADDVALUE 20 50.0 5.0 25200 120.0 ADDVALUE NEWGTS "GTS2" RENAME 10 52.0 6.0 25300 8.0 ADDVALUE 20 54.0 7.0 26000 42.0 ADDVALUE ] mapper.vdist 5 0 0 ] MAP