要转换地球纬度经度(公里) [英] Want to convert the earth latitude & longitude in kilometer
问题描述
您好,我在C#中创建了简单的GPS应用程序,但是我想转换以千米为单位的地球经度,我有相应的公式,所以我不确定该公式给出的计算是否正确.因为这个公式在VB中
xtmp0 =(((69.172 * Cos(0))* 1.609344)* Val(经度)
ytmp0 =((((68.703 * Val(纬度)))* 1.609344)
请建议我是否正确的公式,或者建议一些用于相同公式计算的链接
Hello as my creating simple GPS application in c# but i want to convert the the earth latitude longitude in kilometer i had formula for that bit i am not sure whether the calculation given by that formula is correct or not.here is the formula for that this formula is in the VB
xtmp0 = ((69.172 * Cos(0)) * 1.609344) * Val(longitude)
ytmp0 = (((68.703 * Val(latitude))) * 1.609344)
please suggest me whether it is correct formula or not or suggest some link for calculating it for the same
推荐答案
这是一个编程论坛,但您的问题似乎已解决地理问题.建议您尝试使用Google确认您的公式.
This is a programming forum, but your question appears to be connected to geographical issues. I suggest you try Google for confirmation of your formula.
这篇关于要转换地球纬度经度(公里)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!