Parse a string containing a WKB or EWKB representation of a geometry and creates a geometry value of the appropriate type.
Syntax
ST_Geometry::ST_GeomFromWKB(LONG BINARY wkb, INT srid)
Parameters
-
wkb –
A string containing the WKB or EWKB representation of a geometry value.
-
srid –
The SRID of the result. If not specified, the default is 0.
Returns
ST_Geometry Returns a geometry value of the appropriate type based on the source string.
Standards
SQL/MM (ISO/IEC 13249-3: 2006) 5.1.41