MI_Contains

説明

あるジオメトリ オブジェクトが他のジオメトリ オブジェクトを完全に含むかどうかを調べます。

構文

MI_Contains ( containerGeometry, testGeometry )

引数

containerGeometrytestGeometry はジオメトリ オブジェクト (または式) です。

カナダの国が指定されたポイントを含むかどうかを調べます。

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

コメント

containerGeometrytestGeometry を完全に含む場合は真、それ以外の場合は偽を返します。containerGeometry または testGeometry が NULL の場合は偽を返します。この関数は、最初の引数 (containerGeometry) の座標系を使用して実行されます。

これは MI_Within ( testGeoemtry, containerGeometry ) と同義です。