flopp / GpxTrackPoster

Create a visually appealing poster from your GPX tracks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running into "No tracks found"

randmized opened this issue · comments

commented

Regardless if i use a fixed or relative path as --gpx-dir or double or single quotes, i seem to rund into the No tracks found problem. Is there a certain format expected from the GPX files? Mine gets exported as:

<gpx version="1.1" creator=" " xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">

Would you mind posting one of the .gpx files you're seeing this error with so we can try to replicate the issue?

Also, could you please run in verbose mode with file output (--verbose --logfile FILENAME) and upload the resulting log file here?

commented

Hi, thanks.
Using the verbose it turned out that my tracks do not have a start time.
Attached you have a gpx and also the corresponding logfile
Exported from Sigma Data Center . So my interpretation is that the gps-log misses the timestamps and the Data Center Export is broken. I am going to try and use their standard format and than convert it to gpx.

As a test I tried running the gpxinfo utility from gpxpy (the repository used here to parse the GPX files) and it didn't seem to be able to read that gpx file, so we won't be able to either. I'll take a look to see if we can fail a bit more gracefully though (with verbose logging off).

PR #21 updated error handling/logging so that problems like this will show up directly in the terminal output regardless of verbose status. This can probably be closed.