cts:point-latitude

cts:point-latitude(
   $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

let $point := cts:point(37.270556, -118.672778)
return cts:point-latitude($point)

=> 37.27056
Powered by MarkLogic Server | Terms of Use | Privacy Policy