gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15951
  • QQ
  • 铜币25345枚
  • 威望15368点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
阅读:1713回复:1

计算地理距离和方位角的程序

楼主#
更多 发布于:2003-10-27 14:44
地址:http://www.codeguru.com/algorithms/GeoCalc.html


Environment: VC++6, Win32

Overview
There are many applications, such as navigation and radio frequency engineering, where it is necessary to calculate the minimum path distance and azimuth between two points on the Earth. How you calculate distance and azimuth depends on how you model the surface of the Earth. The simplest intuitive model for the Earth is a sphere; the problem is that the Earth is far from a perfect sphere. Typically, the radius of the Earth at the equator is taken as 6378 kilometers and 6356 kilometers and the North and South poles. The next level of sophistication is to assume an average radius for the Earth depending on latitude. Many situations require much greater accuracy than is afforded by the average-radius model. In these cases, the typical Earth model is an ellipsoid, basically a sphere that is flattened at the poles. Both models have symmetry about the polar axis as shown in the image below, but the spherical model also has symmetry about the center of the Earth, and that symmetry simplifies distance and azimuth calculations immensely.

喜欢0 评分0
GIS麦田守望者,期待与您交流。
游客

返回顶部