Loading

mapper.highest

mapper

This mapper function returns the value associated with the highest elevation in the sliding window. The location and elevation returned are those associated with the selected value. In case of multiple occurrences, the most recent is selected.

If no elevation data was found in the sliding window, no value will be returned.

mapper.highest is available since version 1.0.11.

See also

Signature

Examples

[ [ NEWGTS "GTS1" RENAME 10 45.0 4.0 25100 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 25400 42.0 ADDVALUE ] mapper.highest 5 5 0 ] MAP