Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
根据文本表示构造几何集合。
NEW ST_GeomCollection(text-representation[, srid])
text-representation
LONG VARCHAR
包含几何集合文本表示的字符串。输入格式可以是任何支持的文本输入格式,包括 WKT 或 EWKT。
srid
INT
结果的 SRID。如果未指定,缺省值是 0。
根据字符串表示构造几何集合。数据库服务器通过检查提供的字符串确定输入格式。
SQL/MM (ISO/IEC 13249-3: 2006) 9.1.2
以下示例返回 GeometryCollection (CircularString (5 10, 10 12, 15 10), Polygon ((10 -5, 15 5, 5 5, 10 -5)))
SELECT NEW ST_GeomCollection('GeometryCollection (CircularString (5 10, 10 12, 15 10), Polygon ((10 -5, 15 5, 5 5, 10 -5)))')