From 4ff6856cb1016c480aca125f30bd579df7535e15 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 1 Sep 2010 15:14:42 +0000 Subject: [PATCH] Improve release notes' description of Teodor's fixes for polygon overlaps and contains operators. --- doc/src/sgml/release-9.0.sgml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/release-9.0.sgml b/doc/src/sgml/release-9.0.sgml index 31102a21b9..7bfdf1419b 100644 --- a/doc/src/sgml/release-9.0.sgml +++ b/doc/src/sgml/release-9.0.sgml @@ -1,4 +1,4 @@ - + Release 9.0 @@ -1698,8 +1698,19 @@ Correct calculations of overlap - and contains operations over polygons (Teodor Sigaev) + linkend="functions-geometry-op-table">overlaps + and contains operations for polygons (Teodor Sigaev) + + + + The polygon && (overlaps) operator formerly just + checked to see if the two polygons' bounding boxes overlapped. It now + does a more correct check. The polygon @> and + <@ (contains/contained by) operators formerly checked + to see if one polygon's vertexes were all contained in the other; + this can wrongly report true for some non-convex polygons. + Now they check that all line segments of one polygon are contained in + the other. -- 2.11.0