Empty KML+GPX files from Plane logs?

Anyone else having this problem?

I have a dataflash log (5mb+) which seems valid, I can graph it and see all the values and the track on the map, but the KML files it generates are empty other than the waypoints, empty GPX files too. No error messages.

I thought it might be a problem with the latest MP so I rolled back to 1.2.86 and 1.2.85, re-downloaded the dataflash log, same deal. I also get the same result if I try to create the KML afterwards from the 'Create KML' button on the dataflash tab of the Flight Data screen.

-------------

log2gpx.py attached here as an edit, because you can't attach files to replies - log2gpx.py

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    please try the latest beta MP

    help > update beta

  • I see the same issue with a different GPS line format.

    It does appear this also is causing difficulty for the Geo Tagging app. In the process of tagging the images, it appears the app is looking for values in the wrong columns.

    So when you tag images with the app, your photo's LONG becomes your log's LAT, your photo's LAT becomes your log's HDop, and your photo's height becomes your log's LONG.

  • I also have these empty kml files with APM Copter 3.1 rc7. It is apparent that the GPS messages format changed since APM:: Copter 3.0.1 and mission planner is not able to cope with this change, even if the new format is described in the header of the log file.

  • Also experiencing empty KMZ and GPX files. The KMZ holds waypoints, but not actual flight data.

    Also can't get the Mission Planner geo-reference app to work with LOG file, but this may be unrelated to the above issues.

    Andrew, thanks for posting your script -- is it possible for you to make a simple GUI for this? Would be super nifty!

  • Not sure if it's a bug, or just an incompatibility between v2.76 and the current version of Mission Planner 1.2.87.

    Anyway, I really needed to get a KML or GPX file out from my log to do some image geo-referencing, so I wrote a little python script to parse the dataflash log into a gpx file. 

    I've attached it as a link in the edited original post. It's hard-coded to my file but you can easily tweak it for your own needs by just changing the two variables at the top of the file. timefudgeSecs is the difference between your camera and APM's timecodes. Run the command and redirect the output to make your GPX file. It worked for me, but no guarantees it works in all cases, it was just a quick hack to solve it for me today

  • Same here.  APM Plane 2.76 generates unusable .kml (all .kml files show 5k files size).  The logs show full flight path in the view log section when show map is selected so I am certain the data is there.

  • There seems to be a bug in APM plane 2.76. As I am also experiencing this.

  • Forgot to mention: log is from APM:Plane v2.76

This reply was deleted.

Activity