X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E16283A19DC for ; Sun, 19 Dec 2004 10:38:16 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 22752-04 for ; Sun, 19 Dec 2004 10:38:08 +0000 (GMT) Received: from md1.psixpress.com (md1.psixpress.com [154.32.105.205]) by svr1.postgresql.org (Postfix) with ESMTP id C6F9C3A1991 for ; Sun, 19 Dec 2004 10:38:06 +0000 (GMT) Received: from kaufbach.delug.de (168.pool1.dialup.cybernet-ag.de [195.143.124.168]) by md1.psixpress.com (MOS 3.5.6-GR) with ESMTP id CGP23765; Sun, 19 Dec 2004 10:37:59 GMT Received: from kretschmer by kaufbach.delug.de with local (Exim 3.35 #1) id 1CfySW-0001XO-00 for pgsql-sql@postgresql.org; Sun, 19 Dec 2004 11:38:40 +0100 Date: Sun, 19 Dec 2004 11:38:40 +0100 From: Kretschmer Andreas To: pgsql-sql@postgresql.org Subject: Question about geometric function area() Message-ID: <20041219103840.GA5849@kaufbach.delug.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.28i X-OS: Debian/GNU Linux - weil ich es mir Wert bin! X-GPG-Fingerprint: EE16 3C01 7B9C 10F7 2C8B 3B86 4DB3 D9EE 7F45 84DA X-Message-Flag: "Windows" is not the answer. "Windows" is the question and the answer is "no"! X-Lugdd: Gerd Kube X-Info: My name is root. Just root. And I am licensed to kill -9 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.059 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200412/136 X-Sequence-Number: 19756 Hello, I have a table with a polygon - typ. There I stored, for instance this polygon: test_db=# select * from geo where id = 1; id | koerper ----+--------------------------------- 1 | ((0,0),(0,2),(2,2),(3,3),(5,0)) (1 Zeile) Now, I need the area, but 'select area(koerper) from geo where id=1;' fails. If I do 'select area(box(koerper)) from geo where id=1;' it works, but this isn't the right answer. Is this a limitation for area()? Version is 7.4.5. Regards, Andreas -- Diese Message wurde erstellt mit freundlicher Unterstützung eines freilau- fenden Pinguins aus artgerechter Freilandhaltung. Er ist garantiert frei von Micro$oft'schen Viren. (#97922 http://counter.li.org) GPG 7F4584DA Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082°, E 13.56889° ;-)