gpt4 book ai didi

kml - 如何在地标之间绘制路径

转载 作者:行者123 更新时间:2023-12-04 11:15:13 25 4
gpt4 key购买 nike

我是 kml 的新手,没有找到在几个地标(每个都有一些坐标、名称、描述)之间创建路径的方法。我检查了 kml tutos 但没有找到这个。

有任何想法吗 ?

最佳答案

创建一个与您的点具有相同坐标(经度、纬度、高度)的 LineString 元素。

<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>

关于kml - 如何在地标之间绘制路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5492939/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com