]> granicus.if.org Git - postgis/commitdiff
- fixed a bug in box3d_overleft which would likely go unnoticed
authorChris Hodgson <chodgson@refractions.net>
Thu, 10 Oct 2002 17:00:40 +0000 (17:00 +0000)
committerChris Hodgson <chodgson@refractions.net>
Thu, 10 Oct 2002 17:00:40 +0000 (17:00 +0000)
- fixed the docs for &<, &>, <<, and >> which were backwards

git-svn-id: http://svn.osgeo.org/postgis/trunk@191 b70326c6-7e19-0410-871a-916f4a2858ee

README.postgis
doc/postgis.xml
postgis_ops.c

index a6840014b2531658d83348a0739c50b57bec4978..dca83eefcc2073f980f0178fcc166bc41c9a0149 100644 (file)
@@ -145,7 +145,7 @@ their bounding boxes.
 You can build a GiST index with:
 
   CREATE INDEX <indexname> ON <tablename>  
-     USING gist ( <geometryfield> gist_geometry_ops ) WITH ( islossy );
+     USING gist ( <geometryfield> gist_geometry_ops );
 
 Always run the "VACUUM ANALYZE <tablename>" on your tables after
 creating an index. This gathers statistics which the query planner
index b81f4e9f5a1d2af8f5aba04353142f4032d854dd..fc96db3fd16bcc31927b0938559dda26300092c5 100644 (file)
@@ -1077,31 +1077,31 @@ if( geom.getType() = Geometry.POLYGON )
                <title>Other Functions</title> 
                <variablelist> 
                  <varlistentry> 
-                        <term>A &lt;&amp; B</term> 
+                         <term>A &amp;&lt; B</term> 
                         <listitem> 
-                               <para>The "&lt;&amp;" operator returns true if A's bounding box
-                                 overlaps or is to the right of B's bounding box.</para> 
+                                <para>The "&amp;&lt;" operator returns true if A's bounding box
+                                  overlaps or is to the left of B's bounding box.</para> 
                         </listitem> 
                  </varlistentry> 
                  <varlistentry> 
                         <term>A &amp;&gt; B</term> 
                         <listitem> 
                                <para>The "&amp;&gt;" operator returns true if A's bounding box
-                                 overlaps or is to the left of B's bounding box.</para> 
+                                 overlaps or is to the right of B's bounding box.</para> 
                         </listitem> 
                  </varlistentry> 
                  <varlistentry> 
                         <term>A &lt;&lt; B</term> 
                         <listitem> 
                                <para>The "&lt;&lt;" operator returns true if A's bounding box is
-                                 strictly to the right of B's bounding box.</para> 
+                                 strictly to the left of B's bounding box.</para> 
                         </listitem> 
                  </varlistentry> 
                  <varlistentry> 
                         <term>A &gt;&gt; B</term> 
                         <listitem> 
                                <para>The "&gt;&gt;" operator returns true if A's bounding box is
-                                 strictly to the left of B's bounding box.</para> 
+                                 strictly to the right of B's bounding box.</para> 
                         </listitem> 
                  </varlistentry> 
                  <varlistentry> 
index 3267a50b1a0f9fb29921c8d9eda251f791bc1742..3e54c58d99df1e5d0689ddf752de8743be1e5122 100644 (file)
@@ -569,7 +569,7 @@ Datum box3d_overleft(PG_FUNCTION_ARGS)
 
        bool    result;
 
-       result = FPle(box1->URT.x, box2->LLB.x);
+       result = FPle(box1->URT.x, box2->URT.x);
 
 //printf("box3d_overleft about to return %i\n",(int) result);