Closed jasiek closed 4 months ago
the command line is processed from left to right, so you need to output after you filter: ./gpsbabel -t -i gpx -f every10m.gpx -x track,start=20230720,stop=20230721 -o gpx -F output.gpx
see https://www.gpsbabel.org/htmldoc-1.9.0/Invocation.html, search for "Options are always processed in order from left to right."
🤦🏻
Thank you.
When I run:
gpsbabel -t -i gpx -f every10m.gpx -o gpx -F output.gpx -x track,start=20230720,stop=20230721
I get the same file as the input file with the only difference being the
metadata/time
element being set to the current timestamp. When stepping in with a debugger, I can see that the function in trackfilter.cc gets hit and each point is being evaluated correctly for inclusion in the time range. Given no one else has reported a similar problem, the only explanation left is that I'm making an obvious mistake somewhere.Input file in question: every10m.gpx.gz