From: Gary Fu <gfu@sigmaspace.com>
To: pgsql-sql@postgresql.org
Subject: polygon overlay
Date: Tue, 31 Aug 2010 17:14:24 -0400
Message-ID: <i5jrbg$1nph$1@news.hub.org> (raw)
Hi,
I don't see any overlap between the polygon and the box in the following
sql. Can anyone explain why it returns 't'?
select polygon(path '((0,0),(10,10),(20,10),(10,0))') && polygon(box
'((16,0),(17,1))');
?column?
----------
t
(1 row)
Thanks,
Gary
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: gfu@sigmaspace.com
Subject: Re: polygon overlay
In-Reply-To: <i5jrbg$1nph$1@news.hub.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