Loading TOC...

MarkLogic Server 11.0 Product Documentation
geo:to-wkb

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

Summary

Returns a binary node in Well-Known Binary format.

Parameters
wkb A sequence of geospatial regions.

See Also

Example

xquery version "1.0-ml";

xdmp:describe(geo:to-wkb(cts:point(36, 71)))

=> binary{"000000000140420000000000004051c00000000000"}

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