geo:to-wkt( $wkt as cts:region* ) as xs:string*
Returns a sequence of strings in Well-Known Text format.
xquery version "1.0-ml"; geo:to-wkt(cts:point(36, 71)) => POINT(71 36)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.