Name

CG_Union — Computes the union of two geometries

Synopsis

geometry CG_Union( geometry geomA , geometry geomB );

描述

Computes the union of two geometries.

Performed by the SFCGAL module

[Note]

NOTE: this function returns a geometry representing the union.

可用性:3.5.0

该方法需要SFCGAL后端。

几何示例

SELECT CG_Union('POINT(.5 0)', 'LINESTRING(-1 0,1 0)');
                cg_union
                -----------
                LINESTRING(-1 0,0.5 0,1 0)
                (1 row)

相关信息

ST_3DUnion, ST_Union