ArcGIS Server Banner

ST_Surface

ST_Surface

Release 9.3 E-mail This TopicPrintable VersionGive Us feedback

NOTE: Spatial type for Oracle only

Definition

ST_Surface constructs a surface feature from a well-known text representation.

Syntax

sde.st_surface (wkt clob, srid integer)

Return type

ST_Polygon

Example

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))

See Also

  • An overview of SQL functions used with ST_Geometry types