Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_CoveredBy

Introduction: Return true if A is covered by B

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

Since: v1.3.0

Example:

SELECT ST_CoveredBy(ST_GeomFromWKT('POLYGON((0 0,3 0,3 3,0 3,0 0))'),  ST_GeomFromWKT('POLYGON((1 1,2 1,2 2,1 2,1 1))'))

Output:

false