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

ST_Contains

Introduction: Return true if A fully contains B

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

Since: v1.2.0

Example:

SELECT ST_Contains(ST_GeomFromWKT('POLYGON((175 150,20 40,50 60,125 100,175 150))'), ST_GeomFromWKT('POINT(174 149)'))

Output:

false