WL#14266: Ellipsoidal ST_Difference

Affects: Server-8.0   —   Status: Complete

ST_Difference currently only supports computations in Cartesian spatial reference systems (SRSs). This WL refactors the current implementation for Cartesian SRSs, and adds support for geograhic SRSs.

ST_Difference(geometry, geometry) takes two geometries, and returns the geometry that covers the difference between the first and the second geometry.

The function is implemented for all geometries in all spatial reference systems, both Cartesian and geographic.