I am looking for an algorithm (php would be most ideal) that can, given two sets of coordinates (start and end), calculate the geographical coordinates along that path at given intervals (say every mile). Note that I am not looking for something like Bresenham’s algorithm – I want the exact coordinates along the path.
Share
You need to find the latitude/longitude of a point at a given distance along a great circle passing through your start- and end-point. You’ll find the formulae worked out here, which you should be able to adapt to your use case.