Constructs a GeometryCollection  value using its WKT representation and SRID. 

These functions handle their arguments as described in the introduction to this section. 

mysql> SET @g = "MULTILINESTRING((10 10, 11 11), (9 9, 10 10))"; mysql> SELECT ST_AsText(ST_GeomCollFromText(@g)); +--------------------------------------------+ | ST_AsText(ST_GeomCollFromText(@g)) | +--------------------------------------------+ | MULTILINESTRING((10 10,11 11),(9 9,10 10)) | +--------------------------------------------+ 

• ST_GeomFromText( wkt  [, srid  [, options ]]) , ST_GeometryFromText( wkt  [, srid  [, options ]]) 

Constructs a geometry value of any type using its WKT representation and SRID. 

These functions handle their arguments as described in the introduction to this section. 

• ST_LineFromText( wkt  [, srid  [, options ]]) , ST_LineStringFromText( wkt  [, srid [, options ]]) 

Constructs a LineString  value using its WKT representation and SRID. 

These functions handle their arguments as described in the introduction to this section. 

• ST_MLineFromText( wkt  [, srid  [, options ]]) , ST_MultiLineStringFromText( wkt  [, srid  [, options ]]) 

Constructs a MultiLineString  value using its WKT representation and SRID. 

These functions handle their arguments as described in the introduction to this section. 

• ST_MPointFromText( wkt  [, srid  [, options ]]) , ST_MultiPointFromText( wkt  [, srid [, options ]]) 

Constructs a MultiPoint  value using its WKT representation and SRID. 

These functions handle their arguments as described in the introduction to this section. 

• ST_MPolyFromText( wkt  [, srid  [, options ]]) , ST_MultiPolygonFromText( wkt  [, srid  [, options ]]) 

Constructs a MultiPolygon  value using its WKT representation and SRID. 

These functions handle their arguments as described in the introduction to this section. 

• ST_PointFromText( wkt  [, srid  [, options ]]) 

Constructs a Point  value using its WKT representation and SRID. 

ST_PointFromText()  handles its arguments as described in the introduction to this section. 

• ST_PolyFromText( wkt  [, srid  [, options ]]) , ST_PolygonFromText( wkt  [, srid  [, options ]]) 

Constructs a Polygon  value using its WKT representation and SRID. 

These functions handle their arguments as described in the introduction to this section. 

