ST_IsSimple — Tests if a geometry has no points of self-intersection or self-tangency.
boolean ST_IsSimple(geometry  geomA);
Returns true if this Geometry has no anomalous geometric points, such as self-intersection or self-tangency. For more information on the OGC's definition of geometry simplicity and validity, refer to "Ensuring OpenGIS compliancy of geometries"
![]()  | |
SQL-MM defines the result of ST_IsSimple(NULL) to be 0, while PostGIS returns NULL.  | 
            
            This method implements the OGC Simple Features
            Implementation Specification for SQL 1.1.
        
s2.1.1.1
            
            This method implements the SQL/MM specification.
        
SQL-MM 3: 5.1.8
            
            This function supports 3d and will not drop the z-index.