Title: elevation date
Last modified: April 18, 2021

---

# elevation date

 *  Resolved [sjoerd1972](https://wordpress.org/support/users/sjoerd1972/)
 * (@sjoerd1972)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/elevation-date/)
 * when i use the download function of the gpx file (with shortcode tslink) i can
   download the gpx file. however, when i open the file all elevation data is not
   in the file anymore (it was when i uploaded it in the track server.
 * Can anybody help me with this problem?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Felevation-date%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [kabouton](https://wordpress.org/support/users/kabouton/)
 * (@kabouton)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/elevation-date/#post-14340220)
 * I think it is because the altitude data is stored in the DB but is not in the
   gpx/xml when it is exported.
    Infunction send_as_gps in class-trackserver.php
   near the bottom of the function
 *     ```
       $occ_iso = $occurred->format( 'c' );
       /* added by kab */
       $trkpt->appendChild( $dom->createElement( 'ele', $row['altitude'] ) );
       $trkpt->appendChild( $dom->createElement( 'time', $occ_iso ) );
       }
       ```
   
 * this adds it to the gpx file.
 * have to edit the plugin file. don’t know how to do this otherwise.
    Not good 
   but it works.
 *  Plugin Author [tinuzz](https://wordpress.org/support/users/tinuzz/)
 * (@tinuzz)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/elevation-date/#post-14340857)
 * Hi,
 * Yes, you are right. Elevation data was simply omitted from the exported data.
   Your fix is good, I will include it in the next release, which I hope to get 
   out in the next month or two. Thank you.
 * Best regards,
    Martijn.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘elevation date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/trackserver.svg)
 * [Trackserver](https://wordpress.org/plugins/trackserver/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/trackserver/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/trackserver/)
 * [Active Topics](https://wordpress.org/support/plugin/trackserver/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/trackserver/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/trackserver/reviews/)

## Tags

 * [Elevation](https://wordpress.org/support/topic-tag/elevation/)

 * 2 replies
 * 3 participants
 * Last reply from: [tinuzz](https://wordpress.org/support/users/tinuzz/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/elevation-date/#post-14340857)
 * Status: resolved