将 KML 导入谷歌地图后,点在南极洲显示 [英] After importing KML to Google Maps, point is showing in Antartica
问题描述
我正在努力弄清楚我做错了什么.
这是我的 KML 的一个非常简单的版本:
当我尝试创建地图并导入该点时,它显示在南极洲中.
有什么想法吗?我使用 http://kmlvalidator.com/ 验证了该文件,并且没有错误返回.
你能告诉我我做错了什么吗?
请参阅 文档坐标,坐标为经度,纬度,[海拔]
<块引用>由经度、纬度、和高度(按此顺序).经度和纬度值以度为单位,在哪里:经度 ≥ −180 且 <= 180纬度≥ −90 且≤ 90高度值(可选)以海拔米为单位
不要在描述坐标的三个值之间包含空格.
所以它们应该是:
<块引用>-80.282852,25.872066
(假设您想要 佛罗里达)
I'm trying to figure out what I'm doing wrong.
Here is a very simple version of my KML:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Placemark>
<name>SUNSHINE CHEVRON</name>
<description>HIALEAH</description>
<Point>
<coordinates>25.872066,-80.282852,0</coordinates>
</Point>
</Placemark>
</kml>
When I try to create a map and import this point, it shows up in Antartica.
Any thoughts? I validated the file using http://kmlvalidator.com/, and it returns with no errors.
Can you tell me what I'm doing wrong?
See the documentation on coordinates, the coordinates are in longitude,latitude,[altitude]
A single tuple consisting of floating point values for longitude, latitude, and altitude (in that order). Longitude and latitude values are in degrees, where: longitude ≥ −180 and <= 180 latitude ≥ −90 and ≤ 90 altitude values (optional) are in meters above sea level
Do not include spaces between the three values that describe a coordinate.
So they should be:
<coordinates>-80.282852,25.872066</coordinates>
(Assuming you want the placemark in Florida)
这篇关于将 KML 导入谷歌地图后,点在南极洲显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!