What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Calculating distance between a Gps point and your location

Poopiedoopie

New Member
Joined
Sep 24, 2014
Messages
117
Reaction score
3
How can i calculate the distance between a gps point (A) and my current location ?
 
ugg it didnt show the image sqroot(sqr(x2 - x1) + sqr(y2-y1))

x1 and y1 are the x, y locations of point a
x2 and y2 are the x, y locations of point b
 
ugg it didnt show the image sqroot(sqr(x2 - x1) + sqr(y2-y1))

x1 and y1 are the x, y locations of point a
x2 and y2 are the x, y locations of point b

this just gives you the distance of any two points on a plane, if you mean PATH distance, vs linear distance you would need to calculate that from your point to the path (calculating the nearest spot in the path to you is a pain in the ass) and then calculate this distance point to point in the path adding it up. if you need 3d distance you need to do the same for sqrt(z - z')^ 2

bear in mind that with linear distance you could be 100m from your objective but with a mountain in between.
 
Back
Top