Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
根据文本表示构造曲线多边形。
NEW ST_CurvePolygon(text-representation[, srid])
text-representation
LONG VARCHAR
包含曲线多边形文本表示的字符串。输入格式可以是任何支持的文本输入格式,包括 WKT 或 EWKT。
srid
INT
结果的 SRID。如果未指定,缺省值是 0。
根据字符串表示构造曲线多边形。数据库服务器通过检查提供的字符串确定输入格式。
SQL/MM (ISO/IEC 13249-3: 2006) 8.2.2
以下示例返回 CurvePolygon (CompoundCurve (CircularString (-5 -5, 0 -5, 5 -5), (5 -5, 0 5, -5 -5)))
SELECT NEW ST_CurvePolygon('CurvePolygon (CompoundCurve (CircularString (-5 -5, 0 -5, 5 -5), (5 -5, 0 5, -5 -5)))')
以下示例显示圆用作外环、三角形用作内环的曲线多边形。
SELECT NEW ST_CurvePolygon('CurvePolygon ( CircularString (2 0, 5 3, 2 0), (3 1, 4 2, 5 1, 3 1) )') cpoly