Given the following input:
- known longitudes/latitudes of 1..n locations
- known distance between locations 1..n and another location "m"
How can I calculate the longitude/latitude of the location "m"?
geocodinggeolocationgoogle mapsmapsyahoo-maps
Given the following input:
How can I calculate the longitude/latitude of the location "m"?
Best Answer
This sounds like a basic latitude-longitude triangulation question. The common approaches are outlined in a Yahoo! Answers topic here. There are likely libraries to do this in many languages. A google search for "latitude longitude triangulation" plus your language of choice will likely reveal some existing code to use. "Geocoding" is another common task rolled into similar libraries, so that may be another useful keyword.
Edit: As others have mentioned, "trilateration" seems to be the best term. However, depending on your data and requirements, there are simpler approximation solutions that may satisfy your requirements.
The Yahoo! Answers post is quoted below for convenience: