Re: Latitude / Longitude - Mailing list pgsql-sql

From Jan Wieck
Subject Re: Latitude / Longitude
Date
Msg-id 3D8201EF.CB5F3BD6@Yahoo.com
Whole thread Raw
In response to Latitude / Longitude  (Tim Perdue <tim@perdue.net>)
List pgsql-sql
Tim Perdue wrote:
>
> On Thu, Sep 12, 2002 at 12:49:21PM -0500, Larry Rosenman wrote:
> > Look at contrib/earthdistance, I **think** it does what you need.
>
> Thanks, yeah this starts to get me into the realm of what I need. It still
> has to run every possible permutation to figure out which one is closest for
> each postalcode. What I'll do is run that once and build a 3rd table which can
> be used to join the other two together using a view.

That third table should be maintained by triggers and
constraints, no?


Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being
right. #
# Let's break this rule - forgive
me.                                  #
#==================================================
JanWieck@Yahoo.com #

pgsql-sql by date:

Previous
From: Jean-Luc Lachance
Date:
Subject: Re: sql group by statement
Next
From: Andrew Perrin
Date:
Subject: Re: LIMIT within UNION?