15,997,408 members
1.00/5 (1 vote)
See more:
Hello i want to calculte long2 lat2 using a long1 lat1 distance and the angle

longitude latitude (43.619117 1.3719584)
distance 4 km
angle 323
Posted
jeron1 10-Nov-15 12:02pm
What have you tried? Have you googled this? Have you seen "http://www.movable-type.co.uk/scripts/latlong.html" ?
KarstenK 10-Nov-15 14:24pm
it is simple math with sinus and cosinus. Consider that you really are in trouble by not understanding such tasks. Ask some mate or teacher and learn your stuff or you wont make your exams. :-(
Patrice T 10-Nov-15 16:04pm
I fear it is a little bit more complicated.
It is simple math with sinus and cosinus on a sphere and it must involve a great circle computation.
RedDk 10-Nov-15 14:46pm
prapps:

https://en.wikipedia.org/w/index.php?title=Versine&redirect=no

'fer starters ...

## Solution 1

A simple Google research on longitude + latitude + bearing + distance leads you to
http://www.movable-type.co.uk/scripts/latlong.html[^]
http://stackoverflow.com/questions/7222382/get-lat-long-given-current-point-distance-and-bearing[^]
http://stackoverflow.com/questions/2187657/calculate-second-point-knowing-the-starting-point-and-distance[^]
And those are only the 3 first answers.

https://en.wikipedia.org/wiki/Great-circle_distance[^]

As always, the shortest path between 2 positions on a sphere is trough an arc of the great circle.

Top Experts
Last 24hrsThis month
 Richard Deeming 60 George Swan 40 Richard MacCutchan 10 Idle_Force -2 Kibrom Weldegabriel -6
 OriginalGriff 431 Pete O'Hanlon 225 Richard Deeming 125 Dave Kreskowiak 123 CPallini 110

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900