• Resolved sjoerd1972

    (@sjoerd1972)


    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    (@tinuzz)

    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.