Loading

mapper.eq.lon

mapper

This mapper function returns the first longitude in a sliding window which is equal to a given value.

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

The mapper.eq.lon function must be parameterized with the value against which to test for equality.

mapper.eq.lon is available since version 2.2.0.

See also

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 4.999999953433871 mapper.eq.lon 0 0 0 ] MAP