]> granicus.if.org Git - postgis/commitdiff
Document the expand() function (finally!)
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 3 Jun 2004 04:51:26 +0000 (04:51 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 3 Jun 2004 04:51:26 +0000 (04:51 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@568 b70326c6-7e19-0410-871a-916f4a2858ee

doc/postgis.xml

index 109c32aa32c3486fce3977ee6e82d8b008cd05bc..3e3390d9aa5a300f4f96a4897805612fec1e9177 100644 (file)
@@ -2491,6 +2491,16 @@ is simple (does not pass through the same point more than once).
                                                </para> 
                                        </listitem> 
                                </varlistentry> 
+                               <varlistentry> 
+                                       <term>expand(geometry, float)</term> 
+                                       <listitem> 
+                                               <para>This function returns a bounding box expanded in all directions
+                                               from the bounding box of the input geometry, by an amount specified
+                                               in the second argument.  Very useful for distance() queries, to add
+                                               an index filter to the query.
+                                               </para> 
+                                       </listitem> 
+                               </varlistentry> 
                                <varlistentry> 
                                        <term>collect(geometry set)</term> 
                                        <listitem>