Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Constructs a polygon from Well Known Binary (WKB).
NEW ST_Polygon(wkb[, srid])
A string containing the binary representation of an polygon. The input can be in any supported binary input format, including
Well Known Binary (WKB) or Extended Well Known Binary (EWKB).
The SRID of the result. If not specified, the default is 0.
Constructs a polygon from a binary string representation. The database server determines the input format by inspecting the
SQL/MM (ISO/IEC 13249-3: 2006)
The following returns Polygon ((10 -5, 15 5, 5 5, 10 -5)).
SELECT NEW ST_Polygon(0x01030000000100000004000000000000000000244000000000000014c00000000000002e40000000000000144000000000000014400000000000001440000000000000244000000000000014c0)