ST_MLineFromText

NoteNote:

ST_Geometry in Oracle only; for PostgreSQL, use ST_MultiLineString.

Definition

ST_MLineFromText takes a well-known text representation of type ST_MultiLineString and a spatial reference ID and returns an ST_MultiLineString.

Syntax

sde.st_mlinefromtext (wkt clob, srid integer)

Return type

ST_MultiLineString

Example

The mlinestring_test table is created with the gid smallint column that uniquely identifies the row and the ml1 ST_MultiLineString column.

CREATE TABLE mlinestring_test (gid smallint, ml1 sde.st_geometry);

The INSERT statement inserts the ST_MultiLineString with the ST_MLineFromText function.

INSERT INTO MLINESTRING_TEST VALUES (
1,
sde.st_mlinefromtext
('multilinestring ((10.01 20.03, 10.52 40.11, 30.29 41.56,
31.78 10.74), (20.93 20.81, 21.52 40.10))', 0)
);

11/18/2013