From b5fc36871aad4e0868caea97787bc49d116987ec Mon Sep 17 00:00:00 2001 From: Chris Hodgson Date: Thu, 10 Oct 2002 17:00:40 +0000 Subject: [PATCH] - fixed a bug in box3d_overleft which would likely go unnoticed - 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 | 2 +- doc/postgis.xml | 12 ++++++------ postgis_ops.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.postgis b/README.postgis index a6840014b..dca83eefc 100644 --- a/README.postgis +++ b/README.postgis @@ -145,7 +145,7 @@ their bounding boxes. You can build a GiST index with: CREATE INDEX ON - USING gist ( gist_geometry_ops ) WITH ( islossy ); + USING gist ( gist_geometry_ops ); Always run the "VACUUM ANALYZE " on your tables after creating an index. This gathers statistics which the query planner diff --git a/doc/postgis.xml b/doc/postgis.xml index b81f4e9f5..fc96db3fd 100644 --- a/doc/postgis.xml +++ b/doc/postgis.xml @@ -1077,31 +1077,31 @@ if( geom.getType() = Geometry.POLYGON ) Other Functions - A <& B + A &< B - The "<&" operator returns true if A's bounding box - overlaps or is to the right of B's bounding box. + The "&<" operator returns true if A's bounding box + overlaps or is to the left of B's bounding box. A &> B The "&>" operator returns true if A's bounding box - overlaps or is to the left of B's bounding box. + overlaps or is to the right of B's bounding box. A << B The "<<" operator returns true if A's bounding box is - strictly to the right of B's bounding box. + strictly to the left of B's bounding box. A >> B The ">>" operator returns true if A's bounding box is - strictly to the left of B's bounding box. + strictly to the right of B's bounding box. diff --git a/postgis_ops.c b/postgis_ops.c index 3267a50b1..3e54c58d9 100644 --- a/postgis_ops.c +++ b/postgis_ops.c @@ -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); -- 2.40.0