Constructs a linestring value from a list of points.
All of the points must have the same SRID.
The resulting linestring is constructed with this common SRID.
All of the supplied points must be non-empty and have the same answer for Is3D and IsMeasured.
The linestring is 3D if all of the points are 3D,
and the linestring is measured if all of the points are measured.