日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

如果Geometry對象或Geography對象B沒有任何坐標點在對象A之外,則返回True。

語法

boolean ST_Covers(geometry geomA , geometry geomB);
boolean ST_Covers(geography geogpolyA , geography geogpointB);

參數(shù)

參數(shù)名稱

描述

geomA

第一個Geometry對象。

geomB

第二個Geometry對象。

geogpolyA

第一個Geography對象。

geogpointB

第二個Geography對象。

描述

  • 該函數(shù)不支持GeometryCollection類型對象作為輸入?yún)?shù)。

  • 不要將該函數(shù)用于無效的Geometry對象,否則會得到不可預(yù)料的結(jié)果。

  • 該函數(shù)會自動生成一個bounding box用于利用Geometry對象上的索引。如果不想使用索引,請使用函數(shù)_ST_Covers。

示例

ST_Covers與ST_Contains的區(qū)別:

SELECT ST_Covers(g1,g2), ST_Contains(g1,g2) FROM (SELECT 'POLYGON((0 0,1 1,1 0,0 0))'::geometry as g1,
                                                               'LINESTRING(0 0,1 1)'::geometry as g2) as test;
 st_covers | st_contains
-----------+-------------
 t         | f
(1 row)