I am developing an android app in which I want to find the latitude & longitude of a point at a certain distance and in a particular direction (north/south/east/west) from the current location.
Any ideas on how this is possible?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
once you have your long, lat values you could just add to them. however i cannot give you the formulas since my math isnt the best and as for math like this im not even going to try and figure out the equation. heres a few links though to get you started, remember its the math not the code thats gonna help ya
http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/
http://www.sitepoint.com/forums/showthread.php?656315-Adding-Distance-To-GPS-Coordinates-To-Get-Bounding-Box
http://www.sitepoint.com/forums/showthread.php?482470-Find-the-closest-location-near-your-address