Nome

CG_Union — Computes the union of two geometries

Sinopse

geometry CG_Union( geometry geomA , geometry geomB );

Descrição

Computes the union of two geometries.

Performed by the SFCGAL module

[Nota]

NOTE: this function returns a geometry representing the union.

Availability: 3.5.0

This method needs SFCGAL backend.

Exemplos de Geometria

Code
SELECT CG_Union('POINT(.5 0)', 'LINESTRING(-1 0,1 0)');
Raster Outputs
LINESTRING(-1 0,0.5 0,1 0)
Figure
Geometry figure for visual-cg-union-01

Veja também

CG_3DUnion, ST_Union