On Jul 17, 2:24*pm, Jon Skeet [C# MVP] <sk...@pobox.comwrote:
Doug <dnlwh...@dtgnet.comwrote:
Is there a way to calculate miles between two places in DotNet? *Is
there a third party tool available that can be incorporated into
DotNet that would work well?
There's the Haversine formula (not in the framework, but easy to
reproduce):
http://en.wikipedia.org/wiki/Haversine_formula
--
Jon Skeet - <sk...@pobox.com>
Web site:http://www.pobox.com/~skeet*
Blog:http://www.msmvps.com/jon_skeet
C# in Depth:http://csharpindepth.com
Wouldn't you need to know the longitude and latitude for that to
work? Obviously I know you need to have some basis to start
with...but is there something out there that has that available? I.E.
if I said Chicago, Illinois, is there something that would give me the
longitude and latitude for that (dotnet or third party)?