• Resolved aventureskayak72

    (@aventureskayak72)


    Hi,
    I have a problem with export gpx based on map i created in waymark. The export is ok but the files gpx, kml or geojson are invalid in other app … i tried to import a valid gpx file in waymark and immediatly export it but it seem waymark transmorm the gpx in an invalid file.

    do you have a solution about that ?

    Thanks ??

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe

    (@morehawes)

    Hi @aventureskayak72,

    Thanks for reaching out and I am sorry to hear about this issue. Looking at the file I can see that your server is adding a PHP Warning message to the start of the GPX file which is corrupting it.

    I believe I have identified the issue, which can be fixed by making one change to this Waymark file:

    /waymark/inc/Front/Waymark_HTTP.php

    Line 62, Change this:

    if(function_exists('gzcompress') && ! in_array('ob_gzhandler', ob_list_handlers())) {

    To this:

    if((function_exists('gzcompress') && ! in_array('ob_gzhandler', ob_list_handlers())) && ! extension_loaded('zlib')) {

    Please let me know if this works for you, if so I will add the fix to the next release.

    Alternatively, disabling PHP Warnings should also prevent the file from getting corrupted.

    I hope you like the plugin, your previous review is the only 4 star rating… so I would really appreciate that extra star if you think the plugin is worth it ??

    Cheers,

    Joe

    Thread Starter aventureskayak72

    (@aventureskayak72)

    It works !!! thank you very much @morehawes ! i’m going to add a star to app rating ??

    Plugin Author Joe

    (@morehawes)

    @aventureskayak72,

    I’m glad that worked for you, I will add this fix to future releases.

    Cheers,

    Joe

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘gpx export invalid’ is closed to new replies.