Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » SQL Anywhere 服务器 - 空间数据支持 » 使用空间数据 » 高级空间主题

 

空间关系的工作原理

为获得最优性能,应始终使用像 ST_Within 或 ST_Touches 这样的方法来测试几何间的单个特定关系。但如果要测试的关系不止一个,则最好选用 ST_Relate 方法,因为该方法可同时测试多个关系。此外,希望针对谓语的不同解释进行测试时,ST_Relate 同样也是一个不错的方法。

通常情况下,ST_Relate 被用作谓语,由用户指定要测试的具体关系。但 ST_Relate 也可用于确定两个几何间的所有可能关系。

 将 ST_Relate 用作谓语
 另请参见
 将 ST_Relate 用作非谓语
 另请参见