Converts a 3D ST_Geometry value to a 2D ST_Geometry value, and optionally validates that the 2D geometry is well formed. This method strips the z coordinate from 3D geometries.
Valid Data Types
All ST_Geometry types.
Returns the 2D version of the ST_Geometry value on which the method is called.