ST_PolyFromWKB(wkb [, srid]), ST_PolygonFromWKB(wkb [, srid])

Constructs a Polygon value using its WKB representation and SRID.

The result is NULL if the WKB or SRID argument is NULL.

URL: https://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html

