Create kml from csv in Python

前端 未结 5 1394
名媛妹妹
名媛妹妹 2021-02-06 03:54

I am new to Python. I am working on gps files. I need to convert a CSV file having all the gps data to kml file. Below is the code in python I am using :

import          


        
5条回答
  •  梦如初夏
    2021-02-06 04:27

    use etree to create your file

    http://docs.python.org/library/xml.etree.elementtree.html

    It's included with Python and protects you from generating broken XML. (eg. because fname contained &, which has special meaning in XML.)

提交回复
热议问题