本文介绍了如何在地标之间绘制路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是kml的新手,没有找到在多个地标之间建立路径的方法(每个地标都有一些坐标,名称和说明).我检查了kml tutos,但没有找到.
I'm new on kml and do not find the way to create a paths between several placemark (each with some coordinate, a name, description). I checked kml tutos but did not find this.
有什么想法吗?
推荐答案
创建一个LineString元素,其坐标(经度,纬度,海拔)与您的点相同.
create a LineString element with the same coordinates (Longitude, Latitude, Altitude) as your Points.
<Folder>
<description>Frankie likes walking and stopping</description>
<Placemark id="track1">
<name>frankies path</name>
<LineString>
<coordinates>-46.67,-23.58,100 -46.754,-23.666,100 -46.6616,-23.5632,100 </coordinates>
</LineString>
</Placemark>
<Placemark>
<name> 2012-05-31 17:23:09</name>
<description> Stop TIME: 19:25:20 Source: network</description>
<Point>
<coordinates>-46.67,-23.58,100 </coordinates>
</Point>
</Placemark>
<Placemark>
<name> 2012-05-31 17:23:09</name>
<description> Stop TIME: 03:01:59 Source: gps</description>
<Point>
<coordinates>-46.754,-23.666,100 </coordinates>
</Point>
</Placemark>
<Placemark>
<name> 2012-05-31 17:23:09</name>
<description> Stop TIME: 02:26:13 Source: network</description>
<Point>
<coordinates>-46.6616,-23.5632,100 </coordinates>
</Point>
</Placemark>
</Folder>
这篇关于如何在地标之间绘制路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!