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
<title>Other Functions</title>
<variablelist>
<varlistentry>
- <term>A <& B</term>
+ <term>A &< B</term>
<listitem>
- <para>The "<&" operator returns true if A's bounding box
- overlaps or is to the right of B's bounding box.</para>
+ <para>The "&<" 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 &> B</term>
<listitem>
<para>The "&>" 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 << B</term>
<listitem>
<para>The "<<" 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 >> B</term>
<listitem>
<para>The ">>" 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>
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);