ST_Surface

注意注意:

Oracle および SQLite のみ

定義

ST_Surface は、WKT 表現からサーフェス フィーチャを構築します。

構文

Oracle

sde.st_surface (wkt clob, srid integer)

SQLite

st_surface (wkt text, srid int32)

戻り値のタイプ

ST_Polygon

surf_test テーブルを作成し、サーフェス ジオメトリを挿入します。

Oracle

CREATE TABLE surf_test (
 id integer,
 geometry sde.st_geometry
);
INSERT INTO SURF_TEST VALUES (
 1110,
 sde.st_surface ('polygon ((110 120, 110 140, 120 130, 110 120))', 4326)
);

SQLite

CREATE TABLE surf_test (
 id integer
);
SELECT AddGeometryColumn(
 NULL,
 'surf_test',
 'geometry',
 4326,
 'polygon',
 'xy',
 'null'
);
INSERT INTO SURF_TEST VALUES (
 1110,
 st_surface ('polygon ((110 120, 110 140, 120 130, 110 120))', 4326)
);

関連トピック

5/25/2014