Re: Search by distance

Поиск
Список
Период
Сортировка
От Jeffrey Melloy
Тема Re: Search by distance
Дата
Msg-id 443AD0AE.7080603@visualdistortion.org
обсуждение исходный текст
Ответ на Search by distance  (Oscar Picasso <oscgoogle@yahoo.com>)
Ответы Re: Search by distance  ("John D. Burger" <john@mitre.org>)
Список pgsql-general
Oscar Picasso wrote:

> HI,
>
> I would like to implement a search by distance to my application.
>
> Something like (pseudo sql):
>
> select * from users
> where users.location is less than 15 miles from chicago.
>
> Any documentation on how to implements that?
>
> I guess I also need a database of the cities coordinates. Where could
> I find one?
>
> Thanks
>
> Oscar
>
> ------------------------------------------------------------------------

I can't help you with the coordinates, but this is exactly what the
contrib package PostGIS is designed for.

Jeff

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PostgreSQL's XML support comparison against other RDBMSes
Следующее
От: Tyler MacDonald
Дата:
Сообщение: Re: Debian package for freeradius_postgresql module