ArcGIS Server Banner

ST_MLineFromText

ST_MLineFromText

Release 9.3 E-mail This TopicPrintable VersionGive Us feedback

NOTE: Spatial type for Oracle only; for spatial type 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 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)
);

See Also

  • An overview of SQL functions used with ST_Geometry types