From: | Kretschmer Andreas <andreas_kretschmer(at)despammed(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Question about geometric function area() |
Date: | 2004-12-19 10:38:40 |
Message-ID: | 20041219103840.GA5849@kaufbach.delug.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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° ;-)
From | Date | Subject | |
---|---|---|---|
Next Message | Kretschmer Andreas | 2004-12-19 14:52:36 | Re: Question about geometric function area() |
Previous Message | Kretschmer Andreas | 2004-12-18 19:08:58 | Re: Revoke on all database |