拓扑空间关系函数¶
Equals¶
Equals — 如果两个拓扑几何由相同的拓扑基元组成,则返回 true。
返回值¶
返回值为 boolean 类型。
示例¶
SELECT topology.EQUALS('(1,1,1,1)','(1,1,1,2)');
EQUALS(boolean) |
---------------------
false |
总数目:1
SELECT topology.EQUALS('(1,1,3,1)','(1,1,2,1)');
EQUALS(boolean) |
---------------------
false |
总数目:1
SELECT topology.EQUALS('(1,1,4,3)','(1,1,4,3)');
EQUALS(boolean) |
---------------------
true |
总数目:1
Intersects¶
Intersects — 如果两个拓扑几何中的任何一对图元相交,则返回 true。
返回值¶
返回值为 boolean 类型。
示例¶
SELECT topology.Intersects('(1,1,1,1)','(2,1,1,1)');
ERROR, Cannot compute intersection between TopoGeometries from different topologies
SELECT topology.Intersects('(1,1,1,4)','(1,1,1,4)');
ERROR, GeometryCollection are not supported by intersects()
SELECT topology.Intersects('(1,1,1,1)','(1,1,1,2)');
INTERSECTS(boolean) |
-------------------------
true |
总数目:1