MI_Within
説明
あるジオメトリ オブジェクトが他のジオメトリ オブジェクトに完全に含まれているかどうかを調べます。
構文
MI_Within ( testGeometry, containerGeometry )
引数
containerGeometry と testGeometry はジオメトリ オブジェクト (または式) です。
例
指定された国の 1 つが定義されたボックス内に完全に含まれているかどうかを調べます。
select MI_Within([Geometry_Column],MI_Box(-13.36676789,8.05796847,79.06334219,62.70540978,'epsg:4326')) as theResult from countries where country = ANY ('Mauritania','Mali','Algeria')
コメント
testGeometry が containerGeometry を完全に含んでいる場合に真を返し、それ以外の場合に偽を返します。testGeometry または containerGeometry が NULL の場合は偽を返します。この関数は、最初の引数 (testGeometry) の座標系を使用して実行されます。
これは、MI_Contains (containerGeoemtry, testGeometry ) と同義です。