<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name></name>
<description></description>
<Style id="blueLine">
<LineStyle>
<color>ffff0000</color>
<width>4</width>
</LineStyle>
</Style>
<Placemark>
<name>GPS PATH</name>
<description>GPS Path AMI </description>
<styleUrl>#blueLine</styleUrl>
<LineString>
<altitudeMode>relative</altitudeMode>
<coordinates>
109.001861,22.785097,0
109.001871,22.785096,0
109.001881,22.785094,0
</coordinates>
</LineString>
</Placemark>
</Document>
</kml>
就是把中间这块替换成其他的然后重新导出成另外一个kml文件,python、java、c都可以
109.001861,22.785097,0
109.001871,22.785096,0
109.001881,22.785094,0