Re: [Gpsbabel-misc] Merging lots of GPX files, while removing waypoints?
GPSBabel converts and transfers data like waypoints, tracks & routes.
Brought to you by:
robertl
|
From: Gilles <cod...@fr...> - 2017-03-13 13:55:38
|
The issue was that the filenames weren't sequential, so that the route made no sense. I wrongly assumed GpsBabel would just load all the tracks in memory, and build a route from there. The solution was to start by renaming the files by appending digits in the right order, eg. 1.foo.gpx, 2.bar.gpx, etc., before running the command. ============= SET APP="c:\Program Files\GPSBabel\gpsbabel.exe" setlocal enabledelayedexpansion set f= for %%f in (*.gpx) do set f=!f! -f "%%f" %APP% -t -i gpx %f% -x nuketypes,waypoints -o gpx -F merge.nuked.gpx ============= Thank you very much for your help. -- View this message in context: http://gpsbabel.2324879.n4.nabble.com/Merging-lots-of-GPX-files-while-removing-waypoints-tp12229p12243.html Sent from the GPSBabel - General mailing list archive at Nabble.com. |