ST_MultiLineString constructs a multilinestring from a well-known text representation.
Oracle
sde.st_multilinestring (wkt clob, srid integer)
PostgreSQL
st_multilinestring (wkt, srid integer)
st_multilinestring (esri_shape bytea, srid integer)
Oracle
CREATE TABLE mlines_test (id integer,
geometry sde.st_geometry);
INSERT INTO mlines_test VALUES (
1910,
sde.st_multilinestring ('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) MLINESTRING
FROM mlines_test;
MLINESTRING
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 ))
PostgreSQL
CREATE TABLE mlines_test (id integer,
geometry st_geometry);
INSERT INTO mlines_test VALUES (
1910,
st_multilinestring ('multilinestring ((33 2, 34 3, 35 6), (28 4, 29 5, 31 8, 43 12), (39 3, 37 4, 36 7))', 0)
);
SELECT st_astext (geometry) AS MLINESTRING
FROM mlines_test;
mlinestring
MULTILINESTRING ((33 2, 34 3, 35 6),
(28 4, 29 5, 31 8, 43 12), (39 3, 37 4, 36 7))