MarkLogic 10 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"}
Powered by MarkLogic Server | Terms of Use | Privacy Policy