Re: What returns from distance function?
I have tested the distance() function on:
1. points on the same line of longitude
2. points on the same line of latitude
and compared the results with the Google Earth ("GE") measuring tool.
distance() and GE *seem* to:
- agree when the points are on the same line of longitude but
- disagree when the points are on the same line of latitude (or any other line).
For example, if 2 points are one degree of longitude apart on the same line of latitude, the distance() function wrongly says that the distance is 60 nautical miles (whatever the latitude). Obviously this isn't true as lines of longitude converge at the poles.
I really hope I'm wrong, in which case I apologize; I find it hard to believe that distance() wouldn't allow for the latitude and bearing of the line between the points.
But if distance() *is* wrong:
- what do we have to do to get it corrected ?
- meanwhile, what formula must we use to process the result of distance() to allow for the latitude and bearing of the line between 2 points ?
Subject
Views
Written By
Posted
5387
April 18, 2010 06:01AM
4977
April 18, 2010 11:13AM
3018
April 28, 2010 08:58AM
3263
May 03, 2010 06:51AM
4085
May 07, 2010 01:35AM
3003
May 16, 2010 07:53PM
3228
May 17, 2010 02:52AM
Re: What returns from distance function?
3327
May 11, 2010 06:21PM
2670
July 08, 2010 01:42PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.