Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
2 つのポイント (最小と最大) によって指定されたボックス内にポイントがあるかどうかをテストします。
ST_IntersectsRect(location,min,max)
location
ST_Geometry
テストするポイント
min
ボックスの定義に使用する最小ポイント値
max
ボックスの定義に使用する最大ポイント値
BIT location が指定したボックスと交差する場合は 1 を返し、それ以外の場合は 0 を返します。
次の文は、結果 1 を返します。
1
SELECT ST_IntersectsRect(ST_Point(1,1,4326),ST_Point(0,0,4326), ST_Point(3,3,4326))