Loading TOC...

MarkLogic Server 11.0 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)

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