In Perl, you can use Math::Trig::great_circle_distance(). To run queries on the database, you'll need to cook up an SQL function which does the same calculation.
Added: Yes, this would be a good place for a stored procedure.
After Compline,
Zaxo
In reply to Re: Calculating Distance
by Zaxo
in thread Calculating Distance
by jeffthewookiee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |