ST_Covers¶
Introduction: Return true if A covers B
Format: ST_Covers (A: Geometry, B: Geometry)
Since: v1.3.0
SQL Example
SELECT ST_Covers(ST_GeomFromWKT('POLYGON((-2 0,0 2,2 0,-2 0))'), ST_GeomFromWKT('POLYGON((-1 0,0 1,1 0,-1 0))'))
Output:
true