ST_LineFromMultiPoint — 从 MultiPoint 几何对象创建 LineString。
geometry ST_LineFromMultiPoint(
geometry aMultiPoint)
;
从 3D MultiPoint 创建 3D 线串
SELECT ST_AsEWKT( ST_LineFromMultiPoint('MULTIPOINT(1 2 3, 4 5 6, 7 8 9)') )); --result-- LINESTRING(1 2 3,4 5 6,7 8 9)