ST_MultiCurve

NotaNota:

ST_Geometry in Oracle only

Definition

ST_MultiCurve constructs a multicurve feature from a well-known text representation.

Syntax

sde.st_multicurve (wkt clob, srid integer)

Return type

ST_MultiLinestring

Example

CREATE TABLE mcurve_test (id integer, geometry sde.st_geometry);

INSERT INTO MCURVE_TEST VALUES (
1910,
sde.st_multicurve ('multilinestring ((33 2, 34 3, 35 6),
(28 4, 29 5, 31 8, 43 12), (39 3, 37 4, 36 7))', 0)
); 

SELECT sde.st_astext (geometry) MCURVE
FROM MCURVE_TEST;

ID        MCURVE

1110      MULTILINESTRING ((33.00000000 2.00000000, 34.00000000 
           3.00000000, 35.00000000 6.00000000), (28.00000000 4.00000000, 
           29.00000000 5.00000000, 31.00000000 8.0000000, 43.00000000 
           12.00000000), (39.00000000 3.00000000, 37.00000000 4.00000000,
           36.00000000 7.00000000 ))

3/6/2012