ST_Surface

注注:

仅 Oracle 中的 ST_Geomety

定义

ST_Surface 用于由熟知文本表示构造表面要素。

语法

sde.st_surface (wkt clob, srid integer)

返回类型

ST_Polygon

示例

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))', 0)
);

SELECT id, sde.st_astext (geometry) SURFACE
FROM SURF_TEST
WHERE id = 1110; 

        ID    SURFACE

      1110    POLYGON  ((110.00000000 120.00000000, 120.00000000 
              130.00000000 110.00000000 140.00000000, 110.00000000 
              120.00000000))

7/10/2012