MarkLogic Server 11.0 Product Documentation
geo.validateWkb

geo.validateWkb(
   wkb as binary()
) as 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

const nb = new NodeBuilder();
nb.addBinary("00000000020000000340478ccccccccccdc05c10000000000040478ccccccccccdc05c133333333334404799999999999ac05c19999999999a");
geo.validateWkb(nb.toNode());

=> true
Powered by MarkLogic Server | Terms of Use | Privacy Policy