Functions / Geometry Predicate Functions (boolean) |

Determines if one geometry object entirely contains another geometry object.

MI_Contains ( containerGeometry, testGeometry )

`containerGeometry` and `testGeometry` are geometry objects (or expressions).

Determines if the country Canada contains the specified point.

select MI_Contains([Geometry_Column],MI_Point(-76,45,'epsg:4326')) from countries where country='Canada'

Returns true if `containerGeometry` entirely contains `testGeometry`, false otherwise. If either `containerGeometry` or `testGeometry` are null, false is returned. The function is performed using the coordinate system of the first argument (`containerGeometry`).

This is synonomous with MI_Within ( testGeoemtry, containerGeometry ).