嗨,我有一个名为Placemark的kml文件和4个节点(placemarks),它们位于googleearth的某个区域。每个地点都有一个经度和一个经度标记。通过上面的代码,我能够提取数据
(u'node0:', 21.78400936610002, 38.2874355527483)
(u'node1:', 21.78453228393861, 38.28690995466475)
(u'node2:', 21.7848823502596, 38.2869152766261)
(u'node3:', 21.78459887820567, 38.28740826552452)
我要计算node0和node2,3,4之间的距离。。。(在距离函数中保持node0不变),然后打印结果。在
我想使用的函数是:
^{pr2}$
使用code from here:
以下是您的代码,经过一些修改后可以执行(我认为)您想要的:
输出:
^{pr2}$相关问题 更多 >
编程相关推荐