Symmetric_difference

Returns the symmetric difference between two geometries. The symmetric difference is part of the geometries that are in one or another geometry but not in both geometries. If both geometries are null or both geometries are equal, this returns null. If only one geometry is null, this returns the non-null geometry.

Note: The function does not currently fully support 3D geometries. Any 3D geometries will be projected down to two dimensions.

Number of parameters: 2:

Return value: A geometry equal to geometry 1 XOR geometry 2.