Re: Search by longitude/latitude - Mailing list pgsql-sql

From James Orr
Subject Re: Search by longitude/latitude
Date
Msg-id 002701c14fff$03a22fa0$1600000a@lrg.office
Whole thread Raw
In response to Search by longitude/latitude  ("Chris Ruprecht" <chrup999@yahoo.com>)
List pgsql-sql
Here is some perl code which does what you want.

----- Original Message -----
From: "Chris Ruprecht" <chrup999@yahoo.com>
To: "pgsql" <pgsql-sql@postgresql.org>
Sent: Monday, October 08, 2001 8:58 AM
Subject: [SQL] Search by longitude/latitude


> 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

pgsql-sql by date:

Previous
From: "Thurstan R. McDougle"
Date:
Subject: Re: SQL Syntax / Logic question
Next
From: "Colin 't Hart"
Date:
Subject: Re: Search by longitude/latitude