Loading TOC...

MarkLogic 9 Product Documentation
cts.pointLatitude

cts.pointLatitude(
   point as cts.point
) as xs.numeric

Summary

Returns a point's latitude value.

Parameters
point The point.

Usage Notes

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

See Also

Example

const point = cts.point(37.270556, -118.672778);
cts.pointLatitude(point);

=> 37.2705574035645

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.