From: Regina Obe Date: Sat, 10 Oct 2009 16:59:41 +0000 (+0000) Subject: update to include ST_Covers geography X-Git-Tag: 1.5.0b1~376 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6aca362fe6f834bec050a6eaff72748bbdb53268;p=postgis update to include ST_Covers geography git-svn-id: http://svn.osgeo.org/postgis/trunk@4639 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index a0e0baa44..373e9ceb4 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -9506,14 +9506,23 @@ ST_Point | t | t | f | f geometry geomB + + boolean ST_Covers + + geography + geogpolyA + + geography + geogpointB + Description - Returns 1 (TRUE) if no point in Geometry B is outside - Geometry A + Returns 1 (TRUE) if no point in Geometry/Geography B is outside + Geometry/Geography A Performed by the GEOS module @@ -9521,6 +9530,10 @@ ST_Point | t | t | f | f Do not call with a GEOMETRYCOLLECTION as an argument + + For geography only Polygon covers point is supported. + + Do not use this function with invalid geometries. You will get unexpected results. @@ -9531,6 +9544,7 @@ ST_Point | t | t | f | f _ST_Covers. Availability: 1.2.2 - requires GEOS >= 3.0 + Availability: 1.5 - support for geography was introduced. NOTE: this is the "allowable" version that returns a boolean, not an integer. @@ -9542,6 +9556,7 @@ ST_Point | t | t | f | f Examples + Geometry example --a circle covering a circle SELECT ST_Covers(smallc,smallc) As smallinsmall, @@ -9555,6 +9570,10 @@ FROM (SELECT ST_Buffer(ST_GeomFromText('POINT(1 2)'), 10) As smallc, --------------+----------------+-------------------+--------------------- t | f | t | f (1 row) + Geeography Example + + +