Parses a string containing an ESRI shape record and creates a geometry value of the appropriate type.
Syntax
ST_Geometry::ST_GeomFromShape(LONG BINARY shape[, INT srid])
Parameters
-
shape –
A string containing a geometry in the ESRI shape format.
-
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) Vendor extension