计算GPX轨道距离 [英] Calculate GPX Track Distance

查看:110
本文介绍了计算GPX轨道距离的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用我的Android生成一个GPS轨道,该轨道输出GPX文件,并希望我的C#应用​​能够计算轨道的总距离.有人知道这是否可能吗?如果是这样,我将非常感谢您的帮助.

Hi I am generating a gps track with my android that outputs GPX files and wanted my C# app to be able to calculate the total distance of the track. Does anyone know if this is possible? If so I would greatlyappreciate your help.

推荐答案

GPX文件只是XML,因此您可以在.Net中读取它们并计算列出的跟踪点之间的距离.

有关详细信息,请参见此Wikipedia条目:
http://en.wikipedia.org/wiki/GPS_eXchange_Format [
GPX files are just XML, so you can read them in .Net and calculate the distances between the listed trackpoints.

See this wikipedia entry for details:
http://en.wikipedia.org/wiki/GPS_eXchange_Format[^]


这篇关于计算GPX轨道距离的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆