【问题标题】:Project position on Earth to higher altitude with local azimuth and elevation使用当地方位角和仰角将地球上的位置投影到更高的高度
【发布时间】:2019-06-28 20:28:24
【问题描述】:

我在地球上有一个位置 (????????????1,????????????1,????????) 其中我想要将具有已知方位角和仰角的直线投影到某个高度,????。从而获得投影球体上的新坐标,(????????????2,????????????2,????????+??? ?)。

如何计算 ????????????2 和 ????????????2 以及所有其他可用信息?

【问题讨论】:

    标签: geometry coordinate-systems spherical-coordinate


    【解决方案1】:

    高度变化不会影响方位角(作为路径到球体上的投影),因此您可以使用Destination point given distance and bearing from start point 部分from here 从起始坐标和方位获取最终坐标:

    Formula:    
    φ2 = asin( sin φ1 ⋅ cos δ + cos φ1 ⋅ sin δ ⋅ cos θ )
    λ2 = λ1 + atan2( sin θ ⋅ sin δ ⋅ cos φ1, cos δ − sin φ1 ⋅ sin φ2 )
      where φ is latitude, λ is longitude, θ is the bearing (clockwise from north), 
      δ is the angular distance d/R; d being the distance travelled, R the earth’s radius
    
    JavaScript:    (all angles     in radians)
    var φ2 = Math.asin( Math.sin(φ1)*Math.cos(d/R) +
                        Math.cos(φ1)*Math.sin(d/R)*Math.cos(brng) );
    var λ2 = λ1 + Math.atan2(Math.sin(brng)*Math.sin(d/R)*Math.cos(φ1),
                             Math.cos(d/R)-Math.sin(φ1)*Math.sin(φ2));
    
    The longitude can be normalised to −180…+180 using (lon+540)%360-180
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-11-12
      • 1970-01-01
      • 1970-01-01
      • 2012-08-29
      • 1970-01-01
      • 2012-12-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多