MySQL tutorial: ST_GEOMFROMTEXT [EN]
top of page
CerebroSQL

MySQL: 

ST_GEOMFROMTEXT

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.

URL: https://dev.mysql.com/doc/refman/8.0/en/gis-wkt-functions.html

Example

bottom of page