i have this position from GPS:
40.715192,-74.005795
how to check if i in the range of 10 meter radius ?
thank's in advance
i have this position from GPS:
40.715192,-74.005795
how to check if i in the range of 10 meter radius ?
thank's in advance
I was looking for something similar and found this: http://megocode3.wordpress.com/2008/02/05/haversine-formula-in-c/
Use Haversine formula http://en.wikipedia.org/wiki/Haversine_formula
Pseudocode:
degToRad
converts degress to radians, see e.g. here