0

使用 python,我从包含 lat/long 值的 csv 文件生成 KML 文件。我正在使用这个例子:

http://l0u15.wordpress.com/2008/09/30/convert-csv-to-kml-for-google-maps/

当我映射这个时:

<Placemark>
    <name>Disney's Hollywood Studios</name>
    <description>Disney's Hollywood Studios is a theme park at the Walt Disney World Resort. Spanning 135 acres in size, its theme is show business, drawing inspiration from the heyday of Hollywood in the 1930s and 1940s. The third park built at the resort, it opened on May 1, 1989 as Disney-MGM Studios. In 2007, the park hosted approximately 9.51 million guests.</description>
    <Point>
      <coordinates>-81.561995,28.357403</coordinates>
    </Point>
  </Placemark>

它没有问题!但是这个:

<Placemark>
    <name>Beyond Basics Medical Practice</name>
    <description>213031 321 Middlefield Rd Ste 275 Menlo Park CA 94025 (650) 815-9577 1/4/2012 San Francisco Unknown</description>
    <Point>
        <coordinates>-122.168048,37.456523</coordinates>
    </Point>
</Placemark>

根本不出现!

KML 是否有某种缩进要求?

4

1 回答 1

1

这对我来说可以。这是在谷歌地图上-两点

在 Google Maps API v3 中-两点

于 2012-08-22T05:50:03.013 回答