LINESTRING()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Constructs a WKB LineString value from a number of WKB Point arguments. If any argument is not a WKB Point, the return value is NULL. If the number of Point arguments is less than two, the return value is NULL.
EXAMPLES
CREATE TABLE ls (c1 LINESTRING);
INSERT INTO ls VALUES
(LineString(Point(0,0), Point(10,10), Point(20,20), Point(30,30)));
SELECT ST_AsText(c1) FROM ls;
+-----------------------------------+
| ST_AsText(c1) |
+-----------------------------------+
| LINESTRING(0 0,10 10,20 20,30 30) |
+-----------------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.