• Resolved tenfour

    (@tenfour)


    What means could not be validated as GPX 1.1

    I’ve used a track application, downloaded the track as GPX and wanted to post it on my wordpresssite. But by uploading the gpx I got this error.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tinuzz

    (@tinuzz)

    Hi,

    It means the file is not valid GPX 1.0 or 1.1. Can you send me the file so I can have a look and see what’s wrong with it?

    Regards,
    Martijn
    [email protected]

    Plugin Author tinuzz

    (@tinuzz)

    This problem was solved privately. The GPX file was broken in multiple ways, but there was also a bug in Trackserver, that got fixed thanks to this report. Trackserver would only import the first <trkseg> segment in a track. The fix is up on Github, so if you want this problem fixed quickly, download this file:

    https://raw.githubusercontent.com/tinuzz/wp-plugin-trackserver/master/trackserver.php

    and put it in Trackserver’s directory (wp-content/plugins/trackserver) in your WP install.

    I will release a fixed version on the WordPress plugin directory soon.

    Best regards,
    Martijn.

    I get the above error-message, when uploading osmand-route with routing informations and waypoints. I deleted all rte- and wpt-XML and then it validates. Is this intended behavior?

    All route and stripped track-files here: https://grohnde-tihange.apgw.de/etappen/

    Plugin Author tinuzz

    (@tinuzz)

    @apgw

    The GPX file ‘Etappe 1 – Osmand-Route’ is broken in multiple ways:
    – Track appears before route and waypoints. The order should be: wpt – rte – trk.
    – The rte elements use private elements (<extensions>) but the file doesn’t reference the namespace / XML schema to go with them.

    Best regards,
    Martijn.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘could not be validated as GPX 1.1’ is closed to new replies.