Re: Finding points within 50 miles

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Finding points within 50 miles
Дата
Msg-id 20050627152949.GC18785@wolff.to
обсуждение исходный текст
Ответ на Finding points within 50 miles  (CSN <cool_screen_name90001@yahoo.com>)
Список pgsql-general
On Sun, Jun 26, 2005 at 16:40:03 -0700,
  CSN <cool_screen_name90001@yahoo.com> wrote:
> If I have a table of items with latitude and longitude
> coordinates, is it possible to find all other items
> that are within, say, 50 miles of an item, using the
> geometric functions
> (http://www.postgresql.org/docs/8.0/interactive/functions-geometry.html)?
> If so, how?

You could take a look at using the parts of the earthdistance contrib
module based on the cube data type. Gist indexes are supposed to make
this kind of query fast.

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Infix Function?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Web application development on Win32, deployment on Linux