Composing and decomposing LineStrings

LineStrings are ordered collections of points used for representing linear spatial features such as roads, railways, rivers, or power lines. PostGIS has functions for creating them, given a set of points, and decomposing them into sets of points.