KML:GroundOverlay问题是180行

时间:2013-03-04 19:14:23

标签: kml

我需要将图像覆盖为覆盖180线的GroundOverlay。

ex:<north>65.93</north><south>52.84</south><east>-178.55</east><west>-191.65</west>

我只得到-178.55到-180 - 剩下的就是失踪。

1 个答案:

答案 0 :(得分:0)

特别是Google地球和许多地图应用程序通常都会出现穿过反经线(-180 / + 180经度)的线条或叠加层的错误。

一些相关错误:
https://code.google.com/p/earth-issues/issues/detail?id=1145
https://code.google.com/p/earth-issues/issues/detail?id=1340
https://code.google.com/p/earth-issues/issues/detail?id=1348

解决此错误的唯一方法是将地面叠加层分成两个图像,每个图像都触摸但不会穿过180线。

请注意,Google地球中的经度范围为[-180,+ 180],因此-191.65标准化为+168.35。

在KML中使用这些区域:

<north>65.93</north><south>52.84</south><east>-178.55</east><west>-180</west>
<north>65.93</north><south>52.84</south><east>180</east><west>168.35</west>