From: Ron Parker <ron@pa...> - 2004-07-19 18:02:44
At 06:08 PM 7/19/2004 +0100, gpsbabel@... wrote:
>Then I try this and
>gpsbabel.exe -w -i gpx -f MasterFile.gpx -i gpx -f tempGet.gpx -x
>duplicate,location,all -o gpx -F tempNew.gpx
>And I get a file that is a merge of MasterFile.gpx and the waypoints from
>What I Want is a file containing only those waypoints NOT in MasterFile.gpx.
gpsbabel.exe -i gpx -f MasterFile.gpx -i gpx -f MasterFile.gpx
-i gpx -f tempGet.gpx -x duplicate,location,all -o gpx -F tempNew.gpx
>Second Point: This merged file also includes all the tracks from
>MasterFile.gpx, I am not interested in track logs in this output, how do I
>remove them and just return the Waypoints.
One way to do that would be to use a format that doesn't support tracks.
If GPX is really what you want, you can always convert back to it after
removing the tracks:
gpsbabel -i gpx -f tempNew.gpx -o gpsutil -F tempNew.gpu
gpsbabel -i gpsutil =f tempNew.gpu -o gpx -F tempNew.gpx
Whether this keeps all of the information you need is something you'll
have to determine for yourself. If not, you can try different formats.
Obviously, there should be a better fix for this within GPSBabel itself,
but maybe that'll do for now. Perhaps when you actually specify the -w,
as you did, it should explicitly NOT do tracks, even though they're
Get latest updates about Open Source Projects, Conferences and News.