KML神秘的无法映射的地址

时间:2012-08-22 05:31:32

标签: python xml google-maps kml

使用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是否有某种缩进要求?

1 个答案:

答案 0 :(得分:1)