title: Gpx file format, what is the correct format?
body: <p>My iOS program will create a gpx file.  What is the correct format between these two?  Is it:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;gpx&gt;
      &lt;wpt lat="52.373" lon="4.871"&gt;&lt;/wpt&gt;
      &lt;wpt lat="52.374" lon="4.872"&gt;&lt;/wpt&gt;
      &lt;wpt lat="52.375" lon="4.871"&gt;&lt;/wpt&gt;
  &lt;/gpx&gt;
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;gpx xmlns="http://www.topografix.com/GPX/1/1" version="1.1" creator="GPSLogger"&gt;
      &lt;trk&gt;
          &lt;name&gt;New Track&lt;/name&gt;
  
          &lt;trkseg&gt;    
              &lt;trkpt lat="52.373" lon="4.871"&gt;&lt;/trkpt&gt;
              &lt;trkpt lat="52.374" lon="4.872"&gt;&lt;/trkpt&gt;
              &lt;trkptt lat="52.375" lon="4.871"&gt;&lt;/trkpt&gt;
          &lt;/trkseg&gt;
      &lt;/trk&gt;
  
  &lt;/gpx&gt;
  </code></pre>