Search Postgresql Archives

Re: earthdistance compass bearing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 18, 2013 at 12:42 PM, Jeff Herrin <jeff@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx/msg159460.html

merlin


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux