Reputation: 41
How I can make a comment in a GPX files?
I checked on Google and here with no luck. Thank you !
Upvotes: 4
Views: 4046
Reputation: 5370
Waypoint, Routes and Tracks in Gpx have a formal tag <cmt />
and <desc />
The other main types have something called <extensions />
that allow you to add whatever content you want. The only requirement is that what you put in there is linked to a different schema so you can't use the default namespace for your tags.
You can put something like <myns:cmt>Comment here</myns:cmt>
in there assuming you define the myns namespace in the top.
Upvotes: 2
Reputation: 88751
Assuming GPX = GPS eXchange Format it's just XML so a standard XML comment is all you'd need:
<!-- XML Comment -->
Upvotes: 7