4

How I can make a comment in a GPX files?

I checked on Google and here with no luck. Thank you !

4

2 回答 2

7

Assuming GPX = GPS eXchange Format it's just XML so a standard XML comment is all you'd need:

<!-- XML Comment -->
于 2011-09-03T20:43:03.133 回答
2

Gpx 中的 Waypoint、Routes 和 Tracks 有一个正式的标签<cmt /><desc />而其他主要类型有一个叫做的东西<extensions />,可以让你添加任何你想要的内容。唯一的要求是您放入其中的内容链接到不同的架构,因此您不能为标签使用默认命名空间。

<myns:cmt>Comment here</myns:cmt>假设您在顶部定义了 myns 命名空间,您可以在其中放置类似的东西。

于 2011-09-04T14:04:20.353 回答