2017-01-23 82 views
0

有一个真正GPS点:计算具有一个新的坐标,坐标+在X,Y和Z方向上的距离

<GPS> 
      <latitude>36.1319779627</latitude> 
      <longitude>-115.154950231</longitude> 
      <altitude>621.5</altitude> 
      <heading>0.0</heading> 
    </GPS> 

然后有基于距离从该真实GPS点上点的列表:

<control_point_list> 
         <control_point> 
          <X>-2310.41411189</X> 
          <Y>32.4828342845</Y> 
          <Z>-164.167976564</Z> 
         </control_point> 
         <control_point> 
          <X>-2322.09317395</X> 
          <Y>32.4422985598</Y> 
          <Z>-172.301188413</Z> 
         </control_point> 
         <control_point> 
          <X>-2332.96313438</X> 
          <Y>32.3349680574</Y> 
          <Z>-179.876134127</Z> 
         </control_point> 
</control_point_list> 

我该如何计算新点的坐标?

+0

到目前为止您尝试过什么? – Selvin

+0

我试过这个帖子的公式http://stackoverflow.com/questions/7477003/calculating-new-longtitude-latitude-from-old-n-meters但结果不准确,面积相同但不是真的 – mhsaeedi

+0

new_latitude =纬度+(dy/r_earth)*(180/pi); new_longitude =经度+(dx/r_earth)*(180/pi)/ cos(纬度* pi/180); – mhsaeedi

回答