Search by longitude/latitude

From: "Chris Ruprecht" <chrup999(at)yahoo(dot)com>
To: "pgsql" <pgsql-sql(at)postgresql(dot)org>
Subject: Search by longitude/latitude
Date: 2001-10-08 12:58:07
Message-ID: 001a01c14ff8$e0a3cf00$5dd26383@corp.compucom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi all,

I need to implement "Find all hospitals in a 5 mile radius". Say I have all
the coordinates on them stored in a table with the fields longitude and
latitude. Has anybody some sample code for that?

Best regards,
Chris

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message James Orr 2001-10-08 13:42:02 Re: Search by longitude/latitude
Previous Message Gurudutt 2001-10-08 12:37:14 PEAR Problem