如何转换极体系的经度和纬度 [英] How to convert polar system to latitude and longitude
本文介绍了如何转换极体系的经度和纬度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图开发一个Android应用程序。我使用需要在经度和纬度(这里我站在)我的位置的网络服务,并给予反馈另一个位置的数据。但是,在另一个位置给出的数据是极性系统,极制度的起源就是我站在这个地方。
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. ?
对不起我的英文不好。
推荐答案
使用公式:
Latitude = distance * (Math.cos(degree));
Longitude = distance * (Math.sin(degree));
这篇关于如何转换极体系的经度和纬度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文