Loading TOC...

cts.pointLongitude

cts.pointLongitude(
   $point as cts.point
) as xs.numeric

Summary

Returns a point's longitude value.

Parameters
$point The point.

Usage Notes

This function can return a value of either xs:float or xs:double type, depending on the precision of the governing coordinate system.

See Also

Example

var point = cts.point(37.270556, -118.672778);
cts.pointLongitude(point);

=> -118.672775268555

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy