GEOGRAPHY value from Well-Known Binary (WKB).
Syntax
Parameters
wkb: A two-dimensional OGC WKB value in little-endian or big-endian byte order. All seven OGC geometry families andEMPTYmembers are supported. EWKB extensions are not supported.srid: Optional. The spatial reference identifier. Only4326is supported; when omitted, it defaults to4326.
OGC:CRS84 semantics: longitude must be in [-180, 180] and latitude in [-90, 90].
Return value
Returns aGEOGRAPHY value. Returns NULL if an argument is NULL, the WKB is invalid, a coordinate is outside the supported range, or srid is not 4326.