Re: Latitude / Longitude

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Latitude / Longitude
Дата
Msg-id 3D8201EF.CB5F3BD6@Yahoo.com
обсуждение исходный текст
Ответ на Latitude / Longitude  (Tim Perdue <tim@perdue.net>)
Список 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 по дате отправления:

Предыдущее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: sql group by statement
Следующее
От: Andrew Perrin
Дата:
Сообщение: Re: LIMIT within UNION?