Question about geometric function area()
| От | Kretschmer Andreas |
|---|---|
| Тема | Question about geometric function area() |
| Дата | |
| Msg-id | 20041219103840.GA5849@kaufbach.delug.de обсуждение |
| Ответы |
Re: Question about geometric function area()
|
| Список | 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° ;-)
В списке pgsql-sql по дате отправления: