Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
将 WKT(Well Known Text)转换为对应的多边形内存形式。
POLYGON
VARCHAR ST_Polygon(VARCHAR wkt) VARCHAR ST_PolyFromText(VARCHAR wkt) VARCHAR ST_PolygonFromText(VARCHAR wkt)
wkt
VARCHAR
MySQL > SELECT ST_AsText(ST_Polygon("POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))")); +------------------------------------------------------------------+ | st_astext(st_polygon('POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))')) | +------------------------------------------------------------------+ | POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0)) | +------------------------------------------------------------------+