Reputation: 546
I am looking for an algorithm for finding GPS coordinate of a point on a straight line defined by say points p1 and p2 at distance r from p1. GPS coordinate of p1 and p2 are known. I searched a lot on web but couldn't find any well explanatory answer. I found an answer which was solving it just like Cartesian coordinates. But I don't think its correct as GPS coordinated system is not analogous to Cartesian coordinate system.
Upvotes: 1
Views: 5356
Reputation: 80297
You can find all necessary information on this excellent site.
Look at section Bearing, then Destination point given distance and bearing from start point.
You might probably be interested in Intermediate point, that finds point at any fraction of the big circle arc.
Upvotes: 5