I want to calculate distance in a gps
<p>I am currently working on a gps project. I have read an xml file, I can print out the longitude and latitude bounds in the form of minLat, maxLat, minLon, maxLon. Way,Relation and Node properties like, id, user, uid, version, visible, changeset and timestamp . I can also print out the tag key and value and the reference. My problem now is that I want to calculate the distance between two points with the use of latitude and longitude, it is unclear to me on how do it and which of the properties that I printed out to console I really need to do it. So please I need some help!</p>
