Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
ST_IntersectsRect 函数测试点是否位于由 min 和 max 这两个点定义的框内。
ST_IntersectsRect(location,min,max)
location
ST_Geometry
要测试的点。
min
用于定义框的最小点值。
max
用于定义框的最大点值。
BIT 如果 location 与指定框相交则返回 1,否则返回 0。
SQL/MM (ISO/IEC 13249-3: 2006) 服务商扩充
Select ST_IntersectsRect(ST_Point(1,1,4326),ST_Point(0,0,4326), ST_Point(3,3,4326))
返回值 1。
1