Latitude / Longitude

Поиск
Список
Период
Сортировка
От Tim Perdue
Тема Latitude / Longitude
Дата
Msg-id 20020912124426.A27570@mail.perdue.net
обсуждение исходный текст
Ответы Re: [SQL] Latitude / Longitude
Список pgsql-general
Hi Folks -

I'm working on a global weather database for a client and have hit an issue
which I'm sure has been solved before. Unfortunately, the site search doesn't
pull up anything.

Essentially, I've got two tables, one with city/county/lat/long and another
with lat/long/weather data.

None of the lat/longs in the two tables match up directly, so I can't do a
simple join of the two tables. I need to join on closest proximity on the
lat/long fields.

Any suggestions? It seems to me this will be pretty expensive on CPU resources
unless there's a really elegant trick uncovered.

Tim

--
Founder - PHPBuilder.com / Geocrawler.com / SourceForge
GPG Public Key: http://www.perdue.net/personal/pgp.php
Perdue, Inc. / Immortal LLC
515-554-9520

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "Roderick A. Anderson"
Дата:
Сообщение: Re: max | last INET in table
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: [SQL] Latitude / Longitude