Calculate a Distance between 2 address

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • parshupooja
    New Member
    • Jun 2007
    • 159

    Calculate a Distance between 2 address

    Hi All

    I have a gridview where I have to show 3 columns: first location address, second Location address and third is distance between first location and second location.

    I don't know how to calculate distance between two locations in asp.net C#.
    can anyone suggest how shd i achieve this?

    Thanks
    Last edited by parshupooja; Sep 13 '07, 03:11 PM. Reason: update
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    How would you calculate that in an other language?

    I would say you would need to find a way to map an address to lattitude/longitude coordinates.
    Then find an algorithm that computes the distance between them (straight line?) and convert it to miles.

    That's not really a programming question though. You could try searching google for something like that.

    Comment

    Working...