16.07.2009, 23:45
(15.07.2009, 22:08)wtold Wrote: Any clues?
PS I haven't found out yet why the distance calculations differ from my GPS, that is next on my plate!
Search for the class Bearing.
[/quote]
Thanks Routeconverter, it looks as though you are using a different Earth radius from the often quoted 6371.1km. Changing the value gives me a result nearly the same as my GPS. There is also the issue of elevation difference between the two points, but that is more a philosophical issue about the definition of "distance", I don't think either my GPS receiver or your formula take that into account.
As a separate topic, I would like to suggest that you add the facility to add or subtract a fixed value (via a spinner maybe) to allow bulk adjustments to be made to the elevations. GPS's are not very good at guessing the elevation and often the elevation provided differs consistently in the .gpx file by a fixed amount. I now fix this outside of RC but perhaps it would be more convenient if done via RC.
Many thanks for your help and for a great application.
Bill