In my PHP project I have the GPS coordinates of two opposite vertices of a rectangle (topleft and bottomright). I need to locate the other two.
Since this is in the standard GPS coordinate system the sites are parallel to the axis. I don't know if the geodetic vs planar base counts. I guess this is easy but my math knowledge is not the best.
We'll name the two coordinates x1,y1 and x2,y2 (where x is along, and y is up)
Therefore: