定义
ST_Surface 用于由熟知文本表示构造表面要素。
语法
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)
);