Loading

mapper.ne.lat


mapper
Since v2.2.0
Available on all platforms
See also

This mapper function returns the first latitude in a sliding window which is not equal to a given threshold.

The associated longitude, elevation and value are those of the selected latitude.

The mapper.ne.lat function must be parameterized with the threshold.

Signature

Examples

// Because latitudes and longitudes are approximated, this test is a bit tricky. NEWGTS 10 1 2 3 2.0 ADDVALUE 20 4 5 6 5.0 ADDVALUE 30 7 8 9 1.0 ADDVALUE [ SWAP 0.9999999823048711 mapper.ne.lat 0 0 0 ] MAP