From: Konrad Garus <konrad.garus@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #5889: "Intersects" for polygons broken
Date: Wed, 16 Feb 2011 10:58:28 GMT
Message-ID: <201102161058.p1GAwS5V009535@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 5889
Logged by: Konrad Garus
Email address: konrad.garus@gmail.com
PostgreSQL version: 8.4
Operating system: Linux
Description: "Intersects" for polygons broken
Details:
&& operator seems to be broken for polygons whose bounding boxes intersect:
select polygon'((0,0), (1,2), (0,2))' && polygon'((0.5, 0), (1,0), (1,1))';
?column?
----------
t
(1 row)
It reportedly is different in 9.0
(http://stackoverflow.com/q/5015233/277683)
Docs could do better job explaining what types each of the geometry operator
supports, and whether intersecting polygons support nonconvex polygons as
well, or only uses bounding box as criteria.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: konrad.garus@gmail.com
Subject: Re: BUG #5889: "Intersects" for polygons broken
In-Reply-To: <201102161058.p1GAwS5V009535@wwwmaster.postgresql.org>
References: <201102161058.p1GAwS5V009535@wwwmaster.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox