Re: earthdistance is not giving correct results.

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Jean-Luc Lachance <jllachan(at)sympatico(dot)ca>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, mike cox <mikecoxlinux(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: earthdistance is not giving correct results.
Date: 2004-10-03 18:22:32
Message-ID: 20041003182232.GA10253@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Oct 03, 2004 at 11:36:20 -0400,
Jean-Luc Lachance <jllachan(at)sympatico(dot)ca> wrote:
> I agree, NS or EW long lat should be the same.
> I was just pointing to the wrong figure. Also, if ll_to_earth takes lat
> first, it should report an error for a |lat| > 90...

I disagree with this. Latitudes greater than 90 degrees have a reasonable
meaning and it can be useful to use 0 to 180 instead of -90 to 90.
The same thing applies to longitude.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gary Doades 2004-10-03 18:26:10 Re: [HACKERS] OT moving from MS SQL to PostgreSQL
Previous Message Scott Marlowe 2004-10-03 18:11:53 Re: guaranteeing that a sequence never skips (fwd)