Detecting whether a point is in a box.

Поиск
Список
Период
Сортировка
От HST
Тема Detecting whether a point is in a box.
Дата
Msg-id 1188153009.048263.161960@50g2000hsm.googlegroups.com
обсуждение исходный текст
Ответы Re: Detecting whether a point is in a box.
Re: Detecting whether a point is in a box.
Список pgsql-general
Hello

I am trying to write a query to find all points that fall within a
given box. However, I cannot seem to find the functionality for
determining whether a point is within a box.

e.g.  select box '((0,0),(1,1))' @> point '(0.5,0.5)';

operator does not exist: box @> point

Is this operator for circles only? Is there a similar operator for
boxes? I have not been able to find it in the documentation.

Any help would be much appreciated
H


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

Предыдущее
От: Ow Mun Heng
Дата:
Сообщение: psql \copy command runs as a transcation?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Out of Memory - 8.2.4