![]() |
|
![]() |
![]() |
Archives of the TeradataForumMessage Posted: Thu, 17 May 2001 @ 21:20:14 GMT
I don't know if it will be as accurate enough for your needs, but instead of a circle, what if you worked with a triangle using the Pythagorean Theorem? Distance = square root of ((lat2 - lat1)squared + (log2 - log1)squared) I think SQL has exponents and square root that will allow this calculation. Bill Hassinger
| ||||||||||||||||||||||||||||||||||||||||||||||
https: | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 28 Jun 2020 | ||||||||||||||||||||||||||||||||||||||||||||||||