Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone,

Happy New Year 2021 to all of you !!

I have searched the web to collect information about gpx file format and almost all the examples are included the attribute value byHand in the header part.
Is it something always required ? Can we assign anykind of value, like the name of the tool generating the gpx file and maybe adding to it some revision number ?


<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" creator="byHand" version="1.1" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
 
  <wpt lat="39.921055008" lon="3.054223107">
    <ele>12.863281</ele>
    <time>2005-05-16T11:49:06Z</time>
    <name>Cala Sant Vicenç - Mallorca</name>
    <sym>City</sym>
  </wpt>
</gpx>


What I have tried:

I could not see a real reason why this is used.  Maybe I missed something.


Does somebody have an idea why this is mostly used ?

Thank you very much in advance.
Best regards.
MiQi
Posted
Updated 5-Jan-21 6:28am

1 solution

The "creator" and "version" attributes are required to be there, according to the schema for GPX.

It's entirely up to the application using the file if the values of the attributes are used for anything.
 
Share this answer
 
Comments
SuperMiQi 7-Jan-21 11:38am    
Hello Dave,

Thank you very much for your answer.
Happy New Year 2021.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900