Loading TOC...

MarkLogic Server 11.0 Product Documentation
geo:parse-wkb

geo:parse-wkb(
   $wkb as binary()
) as cts:region*

Summary

Returns a sequence of geospatial regions parsed from Well-Known Binary format.

Parameters
wkb A binary node containing WKB data.

See Also

Example

  geo:parse-wkb(
    binary{"00000000020000000340478ccccccccccdc05c10000000000040478ccccccccccdc05c133333333334404799999999999ac05c19999999999a"}
  )

=> LINESTRING(-112.25 47.1,-112.3 47.1,-112.4 47.2)

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