ST_LineFromText

NotaNota:

ST_Geometry para Oracle solamente; para el tipo espacial de PostgreSQL, utilice ST_LineString.

Definición

ST_LineFromText toma una representación de texto conocida de tipo ST_LineString y un Id. de referencia espacial y devuelve un ST_LineString.

Sintaxis

sde.st_linefromtext (wkt clob, srid integer)

Tipo de devolución

ST_LineString

Ejemplo

La tabla linestring_test se crea con una columna única ST_LineString ln1.

CREATE TABLE linestring_test (ln1 sde.st_geometry);

La declaración INSERT inserta un ST_LineString en la columna ln1 utilizando la función ST_LineFromText.

INSERT INTO LINESTRING_TEST VALUES ( sde.st_linefromtext ('linestring (10.01 20.03, 35.93 19.04)', 0) );
9/11/2013