在距离我所在地180度(南)的地方找到1公里的位置 [英] Find location 1 Km away in 180 degree (South) from my location

查看:714
本文介绍了在距离我所在地180度(南)的地方找到1公里的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个位置(经纬度和长度),我想从我的位置(纬度和长度)找到下一个位置(经度和纬度),距离我的位置有180公里(南)。你可以给我和算法或函数?

解决方案

由于南,也由于北移动,使得计算简单,因为它避免使用经度。
请参阅



<1> 1 kms等于0.0088339度。

因此在北半球从位置纬度减去0.0088339并且保持经度不变。
南半球加0.0088339。

I have one Location (lat and long) and I want to find the next location(lat and long), which is 1 km away in 180 degree (in south) from my location(lat and long). Can you give me and algorithm or function?

解决方案

Moving due South, also due North, makes the calculation simple as it avoids using longitude. See

1 kms is equal to 0.0088339 degrees.

So in the the Northern hemisphere subtract 0.0088339 from the latitude of location and leave longitude as is. For Southern Hemisphere add 0.0088339.

这篇关于在距离我所在地180度(南)的地方找到1公里的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆