定義
ST_MultiPoint は、WKT 表現からマルチポイント フィーチャを構築します。
構文
Oracle
sde.st_multipoint (wkt clob, srid integer)
PostgreSQL
sde.st_multipoint (wkt clob, srid integer) sde.st_multipoint (esri_shape bytea, srid integer)
SQLite
st_multipoint (wkt text, srid int32)
戻り値のタイプ
ST_MultiPoint
例
mpoint_test テーブルを作成し、ST_MultiPoint 関数を使用して 1 つのマルチポイントをこのテーブルに挿入します。
Oracle
CREATE TABLE mpoint_test (
 id integer,
 geometry sde.st_geometry
);
INSERT INTO MPOINT_TEST VALUES (
 1110,
 sde.st_multipoint ('multipoint (1 2, 3 4, 5 6)', 4326)
);
PostgreSQL
CREATE TABLE mpoint_test (
 id integer,
 geometry sde.st_geometry
);
INSERT INTO mpoint_test VALUES (
 1110,
 sde.st_multipoint ('multipoint (1 2, 3 4, 5 6)', 4326)
);
SQLite
CREATE TABLE mpoint_test (
 id integer
);
SELECT AddGeometryColumn(
 NULL,
 'mpoint_test',
 'geometry',
 4326,
 'multipoint',
 'xy',
 'null'
);
INSERT INTO mpoint_test VALUES (
 1110,
 st_multipoint ('multipoint (1 2, 3 4, 5 6)', 4326)
);