Re: earthdistance compass bearing

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: earthdistance compass bearing
Дата
Msg-id CAHyXU0wZxQ=gon4r6hVsiQLfy19CgW3B0pOOxNvXWL6=ktAbig@mail.gmail.com
обсуждение исходный текст
Ответ на earthdistance compass bearing  (Jeff Herrin <jeff@openhotel.com>)
Список pgsql-general
On Tue, Jun 18, 2013 at 12:42 PM, Jeff Herrin <jeff@openhotel.com> wrote:
> I'm trying to get a compass bearing (N,S,NW,etc) using earthdistance. I can
> successfully get the distance between 2 points using either the point or
> cube method, but I've been struggling with getting the bearing. Any tips?

convert the code from here:
http://www.movable-type.co.uk/scripts/latlong.html

I previously showed how you could convert midpoint here:
http://www.mail-archive.com/pgsql-general@postgresql.org/msg159460.html

merlin


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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: earthdistance compass bearing
Следующее
От: Jeff Herrin
Дата:
Сообщение: Re: earthdistance compass bearing