Loading

mapper.last


mapper
Since v1.0.11
Available on all platforms
See also

This mapper function returns the last value of each sliding window with its associated location and elevation.

The mapper.last function can be applied to values of any type.

Signature

Examples

[ [ NEWGTS 10 NaN NaN NaN 42.0 ADDVALUE 20 NaN NaN NaN 123.0 ADDVALUE 30 NaN NaN NaN 342.0 ADDVALUE 40 NaN NaN NaN 423.0 ADDVALUE ] mapper.last 0 1 0 ] MAP