Since v1.0.11
Available on all platforms
See also

This mapper function computes the horizontal speed along the path traveled in the sliding window.

The distance is computed by summing the distances along the rhumb line between two consecutive locations.

If there is only one tick in the sliding window, the speed is 0.

The associated location and elevation are those at the tick being computed if it is part of the sliding window.

The computed speed is expressed in meters per second.

The mapper.hspeed function can be applied to data of any type since it only considers locations.



[ [ NEWGTS "GTS1" RENAME 10 4313071000 -4.4513631 25100 5.0 ADDVALUE 20 4313071001 -4.4513632 25200 120.0 ADDVALUE NEWGTS "GTS2" RENAME 10 4313071002 -4.4513633 25300 8.0 ADDVALUE 20 4313071003 -4.4513634 25400 42.0 ADDVALUE ] mapper.hspeed 5 5 0 ] MAP