Search by distance - Mailing list pgsql-general

From Oscar Picasso
Subject Search by distance
Date
Msg-id 20060410192112.19206.qmail@web54714.mail.yahoo.com
Whole thread Raw
Responses Re: Search by distance  (Jeffrey Melloy <jmelloy@visualdistortion.org>)
List pgsql-general
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


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.

pgsql-general by date:

Previous
From: Tyler MacDonald
Date:
Subject: Re: Debian package for freeradius_postgresql module
Next
From: Andrew - Supernews
Date:
Subject: Re: pg_restore 7.4.7 locks itself out