top of page
CerebroSQL

MySQL: 

ST_POLYFROMTEXT

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.

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

Example

bottom of page