MarkLogic 10 Product Documentation
geo:to-wkt

geo:to-wkt(
   $wkt as cts:region*
) as xs:string*

Summary

Returns a sequence of strings in Well-Known Text format.

Parameters
wkt A sequence of geospatial regions.

See Also

Example

xquery version "1.0-ml";

geo:to-wkt(cts:point(36, 71))

=> POINT(71 36)
Powered by MarkLogic Server | Terms of Use | Privacy Policy