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
ジオメトリコレクションのテキスト表現を含む文字列。入力には、Well Know Text (WKT) や拡張 Well Know Text (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)))')