
MarkLogic 12 Product Documentation
cts:pointcts:point(
$latitude-or-wkt as (xs:float|xs:string),
$longitude as xs:float
) as cts:point
Summary
Returns a point value.
Parameters |
latitude-or-wkt |
The latitude of the point.
Alternatively, the vertex may be provided as a string that follows the well-known text (WKT) scheme for a point.
|
longitude |
The longitude of the point.
If you supply a WKT string as latitude , this parameter must not be supplied.
|
See Also
Example
cts:point(0.373899653086420E+02, -0.122078578406509E+03)
Example
(: Note that the points are in longitude-latitude pairs :)
cts:point('POINT (122.078578406509 37.3899653086420)')
Copyright © 2025 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.