Loading TOC...

MarkLogic 12 EA 1 Product Documentation
geo:validate-wkb

geo:validate-wkb(
   $wkb as binary()
) as xs:boolean

Summary

Returns true if the binary data can be parsed as WKB into a supported region type.

Parameters
wkb A binary node containing WKB data.

See Also

Example

  geo:validate-wkb(
    binary{"50000000020000000340478ccccccccccdc05c10000000000040478ccccccccccdc05c133333333334404799999999999ac05c19999999999a"}
  )

=> true

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