Constructs a compound curve from a list of constituent curves. The start point of each curve after the first must be coincident
with the end point of the previous curve. All of the supplied curves must have the same SRID. The compound curve is constructed
with this common SRID. All of the supplied curves must be non-empty and have the same answer for Is3D and IsMeasured. The
compound curve is 3D if all of the points are 3D, and the compound curve is measured if all of the points are measured.
Note
By default, ST_CompoundCurve uses the original format for a geometry, if it is available. Otherwise, the internal format is
used. For more information about internal and original formats, see STORAGE FORMAT clause, CREATE SPATIAL REFERENCE SYSTEM statement.