how to use geometric shapes?

Поиск
Список
Период
Сортировка
От Henriksen, Jonas F
Тема how to use geometric shapes?
Дата
Msg-id 1612616523F26F48AB55BC8F5D47917C03CBD1EF@post2.imr.no
обсуждение исходный текст
Ответы Re: how to use geometric shapes?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,
I cant seem to figure out how to use the geometric shapes in postgres: my query goes like this:

select lat, lon from toperation
where point'(lat,lon)' @ polygon'((50, 0),(70,10),(80,50),(50,80),(50,0))'

This should fetch all values of lat and lon contained by the polygon, but I dont see how I can fetch the lat and lon
values,I just get errors whatever I do. Can anyone help me on this? Thanx,  

regards Jonas:))

--
Jonas F Henriksen
Institute of Marine Research
Norway


В списке pgsql-general по дате отправления:

Предыдущее
От: nboutelier@hotmail.com (Nick)
Дата:
Сообщение: Re: Auto increment/sequence on multiple columns?
Следующее
От: fabien@cyriacrea.net
Дата:
Сообщение: Index inheritance