How to convert polar system to latitude and longit

2019-08-29 08:10发布

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条回答
兄弟一词,经得起流年.
2楼-- · 2019-08-29 08:39

Use formula:

Latitude = distance * (Math.cos(degree));
Longitude = distance * (Math.sin(degree));
查看更多
登录 后发表回答