Click here to get back home

Distance Lat Long Caculations

 HomeNewsGroups | Search | About
 comp.infosystems.gis    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Distance Lat Long Caculations bigtone 08-03-2006
Posted by bigtone on August 3, 2006, 7:44 pm
Please log in for more 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


Posted by Paul Cooper on August 4, 2006, 4:57 am
Please log in for more 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


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
Please log in for more thread options
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
>



Similar ThreadsPosted
(very long) FAQ Q5.1 Computing The Distance Between Two Points April 13, 2005, 10:10 am
lat long to UTM July 27, 2005, 10:37 am
Lat/Long conversion April 24, 2004, 3:50 pm
Lat/Long Coordinates?? March 8, 2005, 12:57 am
convert x,y to lat,long February 28, 2007, 2:40 pm
Long Love? September 15, 2007, 10:58 am
Lat&Long to x,y on a rectangular projection December 23, 2005, 9:20 am
How do I export Lat/Long in ArcView? August 4, 2006, 12:17 pm
Transforming long/lat to a stereographic projection December 17, 2004, 2:02 pm
conversion of data (NAD83 to lat/long) September 23, 2005, 1:31 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap