Bookmark this page: Add Distance Lat Long Caculations to Yahoo MyWeb Add Distance Lat Long Caculations to Google Bookmarks Add Distance Lat Long Caculations to Windows Live Add Distance Lat Long Caculations to Del.icio.us Digg Distance Lat Long Caculations! Add Distance Lat Long Caculations to Netscape
  •  
  • Subject
  • Author
  • Date
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by bigtone on August 3, 2006, 7:44 pm
Is there a way of computing the new lat2 and long2 of a position
reached after travelling x metres on a bearing of y degrees given a
known start position of say lat1 long1. It is like the inverse of the
Haversine formulaes but i am not clever enough to do the inversion.
Mant thank for any help
Tony


Posted by Paul Cooper on August 4, 2006, 4:57 am

>Is there a way of computing the new lat2 and long2 of a position
>reached after travelling x metres on a bearing of y degrees given a
>known start position of say lat1 long1. It is like the inverse of the
>Haversine formulaes but i am not clever enough to do the inversion.
>Mant thank for any help
>Tony


Yes - use the "geod" program bundled with proj4
(http://www.remotesensing.org/proj/ ). Because of small angle problems,
geodetic distance calculations using trigonometric formulae directly
are error-prone. However, the formula would be:

1) Express the distance in angular units (i.e. divide by 2*Pi*Radius
of the Earth to get it in radians).
2) Cos(new co-Latitude) = -cos(co-Latitude)*cos(distance) +
sin(co-Latitude)*sin(distance)*cos(Azimuth)
3) Sin (difference in longitude) = sin(distance)*sin(Azimuth)/sin(new
CoLatitude)

All these are derived from the standard sine and cosine rules of
trigonometry; I may have made some mistakes as I did the derivation in
my head.

Paul Cooper

Posted by Seymour Dupa on December 29, 2006, 11:59 pm
http://www.meridianworlddata.com/Distance-Calculation.asp
http://www.movable-type.co.uk/scripts/LatLong.html
http://mathforum.org/library/drmath/view/51816.html


> Is there a way of computing the new lat2 and long2 of a position
> reached after travelling x metres on a bearing of y degrees given a
> known start position of say lat1 long1. It is like the inverse of the
> Haversine formulaes but i am not clever enough to do the inversion.
> Mant thank for any help
> Tony



Posted by rgc on December 31, 2006, 2:14 pm
Also look at Ed Williams' wonderful collection of solutions to problems
in spherical trigonometry:

http://williams.best.vwh.net/avform.htm


> http://www.meridianworlddata.com/Distance-Calculation.asp
> http://www.movable-type.co.uk/scripts/LatLong.html
> http://mathforum.org/library/drmath/view/51816.html
>
>
> > Is there a way of computing the new lat2 and long2 of a position
> > reached after travelling x metres on a bearing of y degrees given a
> > known start position of say lat1 long1. It is like the inverse of the
> > Haversine formulaes but i am not clever enough to do the inversion.
> > Mant thank for any help
> > Tony