mapper.le.lat
mapper
This mapper function returns the first latitude in a sliding window which is less or equal to a given threshold.
The associated longitude, elevation and value are those of the selected latitude.
The mapper.le.lat
function must be parameterized with the threshold.
mapper.le.lat is available since version 2.2.0.
See also
Signatures
Examples
// Remember longitudes and latitudes are approximated, so the result of the MAP may not be what you expect.
NEWGTS
10 1 2 3 2.0 ADDVALUE
20 4 5 6 5.0 ADDVALUE
30 7 8 9 1.0 ADDVALUE
[ SWAP 4 mapper.le.lat 0 0 0 ] MAP