Google 地球将地标放置在错误的位置

Google Earth places placemarks at wrong location

我一直在尝试定位我记录的数据的位置标记。 我使用以下 KML 代码将我的点定位为 Placemarks.Unfortunately,令人惊讶的是,这些点放错了 location.I 我只是想知道我的 KML 代码是否有任何错误。

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns = "http://earth.google.com/kml/2.1">
<Document>
<Style id="icon_id">
 <IconStyle>
<Icon>
   <href>http://maps.google.com/mapfiles/kml/paddle/blu-blank.png</href>
   <scale>1.0</scale>
  </Icon>
 </IconStyle>
</Style>
<Placemark>
  <name>04-02-2015</name>
  <description>Points</description>
  <styleUrl>#icon_id</styleUrl>
  <Point>
   <coordinates>39.6495820075,-79.96055352125</coordinates>
  </Point>
</Placemark>
<Placemark>
  <name>04-02-2015</name>
  <description>Points</description>
  <styleUrl>#icon_id</styleUrl>
  <Point>
   <coordinates>39.649492665,-79.96053303</coordinates>
  </Point>
</Placemark>
</Document>
</kml>

我还尝试在 Google 地球上手动定位这些点,当我尝试 运行 KML 代码时,它们会显示位置 perfectly.But,这让我很不爽。

p.s。这些点应该在美国西弗吉尼亚州,而 Google 地球将其放置在南极洲的某个地方。

我使用 Android LocationManager API 记录我的纬度和经度值。

是的,它是一个地图投影。

我通过以下 link https://support.google.com/earth/answer/148110?hl=en and as suggested used a tool available at http://www.earthpoint.us/Convert.aspx 来转换我的坐标并工作。

所做的更改是按 <coordinates>longitude,latitude</coordinates> 而不是

的顺序写入

<coordinates>latitude, longitude</coordinates> 来自 Android 位置管理器 API.

生成的(纬度,经度)对