I have a series of points (latitude/longitude coordinates) on the earth and a series of distance estimates from each point to an unknown location. I would like to use multilateration to estimate the location of this unknown location. Starting with a simple example imagine 4 points and associated distance estimates to an unknown point with unknown location:
latitude, longitude, distance estimate 3-tuples below:
p1 = (31.2297, 121.4734, 3335.65)
p2 = (34.539, 69.171, 2477.17)
p3 = (47.907, 106.91, 1719.65)
p4 = (50.43, 80.25, 1242.27)
Finding the unknown point has already been explained here and a trilateration example here. Using the above example, the unknown is located at a latitude/longitude coordinate of: 36.989, 91.464
My question is unique because I'm looking for a way to perform multilateration with weights. Each distance estimate is only an estimate; the measurements are imprecise, but the smaller the distance the more accurate the measurement. I'd like use multilatertion but I'd like to give points associated with smaller distance estimations more 'weight' in determining a final answer as these shorter estimations are more accurate. How can I do this? I am looking for a solution in Python.
Going back to the previous example, but introducing error, I want to find the unknown location of the point again:
p1 = (31.2297, 121.4734, 4699.15)
p2 = (34.539, 69.171, 2211.97)
p3 = (47.907, 106.91, 1439.75)
p4 = (50.43, 80.25, 1222.07)