Tests if an ST_Geometry value is spatially within another ST_Geometry value.
Valid Data Types
All ST_Geometry types except geometry collections.
This method can be called on 3D geometries (those that include z coordinates). However, the z coordinate is ignored in method calculations.
Result Type
Returns an INTEGER value:
- 1, if the geometry is within ageometry
- 0, if the geometry is not within ageometry