我们如何使用航路点计算海上距离?
我有一个问题,我真的很坚持这一点。我有带有航路点和路由点的端口数据库,我需要在两个端口之间的距离计算中使用它们。我做了很多研发来找到给出两点之间距离的公式。我还需要可能的最短路线。
我查看了允许用户计算距离的在线工具。但我也想自己做同样的事情。我已经查看了世界港口距离计算器。我回顾了大圆公式来实现这一目标,但我不知道我们如何避免海上距离的景观以及我需要在哪个方向找到第二个港口的距离。
I have one query in which I really stuck at that. I have port database with waypoints and also routing points which I need to use in distance calculation between two ports. I have done lots of R&D to find formula which gives me distance between two points. I also need shortest route which is possible.
I have reviewed online tools which allow user to calculate the distance. But I want to do the same at my own. I have reviewed Port World Distance Calculator. I reviewed the Great Circle formula to achieve that but I don't know that how we avoid landscapes in sea distance and in which direction I need to find distance for second port.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最简单的方法 - 只需在数据库中创建一个表,如下所示:
端口数量有限,此表可以让您灵活地设置正确的距离
The simpliest that comes - just create a table in your database like:
number of ports are limited, and this table will give you flexibility to set correct distance