ST_Covers

Introduction: Return true if A covers B

ST_Covers returning true ST_Covers returning false

Format: ST_Covers (A: Geometry, B: Geometry)

Return type: Boolean

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