Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9BA09632397 for ; Tue, 31 Aug 2010 18:21:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 62630-05 for ; Tue, 31 Aug 2010 21:21:32 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id 3E2D7632220 for ; Tue, 31 Aug 2010 18:21:32 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.4/8.14.4) with ESMTP id o7VLLUjb002435 for ; Tue, 31 Aug 2010 18:21:30 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id o7VLEOjh057340 for pgsql-sql@postgresql.org; Tue, 31 Aug 2010 18:14:24 -0300 (ADT) (envelope-from news) From: Gary Fu X-Newsgroups: pgsql.sql Subject: polygon overlay Date: Tue, 31 Aug 2010 17:14:24 -0400 Organization: Hub.Org Networking Services Lines: 14 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 To: pgsql-sql@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-5 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/1 X-Sequence-Number: 34532 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