Skip to main content
Return the symmetrical difference between geometry A and B (return parts of geometries which are in either of the sets, but not in their intersection) ST_SymDifference

Signatures

Parameters

A
Geometry
required
The input geometry.
B
Geometry
required
The second geometry.

Return type

The resulting geometry.

Example