
- Distance-Lat-Long-Caculations
- 08-03-2006
![]() Re: Distance Lat Long Caculations
| Paul Cooper | 08-04-2006 |
![]() Re: Distance Lat Long Caculations
| Seymour Dupa | 12-29-2006 |
If you were Registered and logged in, you could reply and use other advanced thread options
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
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
http://www.meridianworlddata.com/Distance-Calculation.asp
http://www.movable-type.co.uk/scripts/LatLong.html
http://mathforum.org/library/drmath/view/51816.html
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
> 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
Also look at Ed Williams' wonderful collection of solutions to problems
in spherical trigonometry:
http://williams.best.vwh.net/avform.htm
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
>
>
> 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
> > 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
- How is distance calculated?
- Satellite Navigation
- 2012-02-05
- How long after road changes does it take before new speed limits show up on Start 20?
- Tomtom GPS
- 2011-11-21
- Distance from one city to another city
- Tomtom GPS
- 2011-08-05
- Spaceflight Now | Breaking News | Long March launcher boosts twin satellites into orbit
- Satellite Navigation
- 2012-04-30
- Google Maps - straight line distance
- Garmin GPS
- 2011-06-10
- Road distance
- Satellite Navigation
- 2010-05-10







>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