mike@mesamike.org

Calculate the coordinates of Point P given three known reference points and the observed angles between them from Point P.

This is an old surveyor's technique, not used much any more these days.

If you want to see how it's done, use your browser's "view source" function.

**NOTE:** The results are indeterminate (that means "wildly inaccurate") if all four points lie on (or sufficiently close to) a circle or the 3 known reference points lie on a straight line. (TBD: Implement a sanity check to detect this situation)

**A FURTHER CAVEAT:** Professor Ken Snelgrove of Memorial University (St. John's, Newfoundland & Labrador) writes to inform us of an additional limitation of Tienstra's Method that has caused some unexpected answers for his students when using this solver. The problem is that unless point P lies within the triangle defined by points A, B and C, there exist 2 points P that will satisfy the given inputs. Tienstra's Method (and this solver) will compute only one of them, possibly the wrong one. The method computes the wrong point when the angle subtended by points A, B and C is greater than 180 degrees.

**ALSO NOTE:** This method is based on simple plane trigonometry and does not provide a geodetic solution (that is, it doesn't take into account the ellipsoidal shape of the Earth). However, for geocaching purposes, the results are "close enough" if all the points in question are within, say, 50 miles or so of each other.

## Report | |