问题
i am trying to develop an android app . I use a web service that require my location in latitude and longitude (where i am standing) and giving a feedback another location data. But, the another location data is given with polar system which the origin of polar system is the place where i stand.
My question is, how to convert the given polar system data (distance, and degree from the north) to be the another location's latitude and longitude. ?
Sorry for my bad english.
回答1:
Use formula:
Latitude = distance * (Math.cos(degree));
Longitude = distance * (Math.sin(degree));
来源:https://stackoverflow.com/questions/19077215/how-to-convert-polar-system-to-latitude-and-longitude