Skip to content
Snippets Groups Projects
Commit 4ff6856c authored by Tom Lane's avatar Tom Lane
Browse files

Improve release notes' description of Teodor's fixes for polygon overlaps

and contains operators.
parent e4b96380
No related branches found
No related tags found
No related merge requests found
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.54 2010/08/25 19:41:38 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.55 2010/09/01 15:14:42 tgl Exp $ -->
<sect1 id="release-9-0"> <sect1 id="release-9-0">
<title>Release 9.0</title> <title>Release 9.0</title>
...@@ -1698,8 +1698,19 @@ ...@@ -1698,8 +1698,19 @@
<listitem> <listitem>
<para> <para>
Correct calculations of <link Correct calculations of <link
linkend="functions-geometry-op-table"><quote>overlap</quote></link> linkend="functions-geometry-op-table"><quote>overlaps</quote></link>
and <quote>contains</quote> operations over polygons (Teodor Sigaev) and <quote>contains</quote> operations for polygons (Teodor Sigaev)
</para>
<para>
The polygon <literal>&amp;&amp;</> (overlaps) operator formerly just
checked to see if the two polygons' bounding boxes overlapped. It now
does a more correct check. The polygon <literal>@&gt;</> and
<literal>&lt;@</> (contains/contained by) operators formerly checked
to see if one polygon's vertexes were all contained in the other;
this can wrongly report <quote>true</> for some non-convex polygons.
Now they check that all line segments of one polygon are contained in
the other.
</para> </para>
</listitem> </listitem>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment