+CalcMan Posted August 5, 2003 Share Posted August 5, 2003 I am trying to use gpsbabel and experiencing some problems with the remove duplicate filter. I have 2 PQs for an area, each has 500 points in it. I generated 1 then it didn't cover the whole area where I was going so I made another one as well. They are based around different zip codes but there is still some overlap, so I would like to combine them into a single large file w/o dupes. The combining part seems to work fine but when ever I try to used the -x duplicate command line the program crashes on me. I have tried with this: GPSBabel Version 1.1.1_beta00514003. If anyone can assist that would be greatly appreciated, either with a fix or what I might be doing wrong or if there is some other program that might be able to do the same thing. command line: gpsbabel -x duplicate -i gpx -f 21526.gpx -f 21544.gpx -o gpx -F all.gpx without the filter the command works fine Thanks Quote Link to comment
+parkrrrr Posted August 5, 2003 Share Posted August 5, 2003 quote:Originally posted by CalcMan:The combining part seems to work fine but when ever I try to used the -x duplicate command line the program crashes on me. There are two things wrong with what you're doing. The first is that you have to tell the duplicate filter how to recognize a duplicate. One or both of the options is required in that case: -x duplicate,shortname or -x duplicate,location or -x duplicate,location,shortname Second, you have to specify the filters at the point where you want them to be run. That is, after you've read all of the waypoints but before you write them: gpsbabel -i gpx -f 21526.gpx -f 21544.gpx -x duplicate,shortname -o gpx -F all.gpx Quote Link to comment
+CalcMan Posted August 5, 2003 Author Share Posted August 5, 2003 Thanks for the help fuzzy Quote Link to comment
robertlipe Posted August 5, 2003 Share Posted August 5, 2003 Actually, let's thank "Warm" twice: once for clarifying the order of the arguments and again for actually fixing the crash when the order is specified correctly. Warm delivred a fix to the code recently so the next version of GPSBabel will be less hostile to this problem. Thanx, dude! Quote Link to comment
+ClayJar Posted August 6, 2003 Share Posted August 6, 2003 quote:Originally posted by CalcMan:...or if there is some other program that might be able to do the same thing. gpsbabel is an *excellent* program, but if you're running Windows, be sure to check out Watcher, too. Watcher fills a completely different niche than gpsbabel (in fact, you generally use both), and you just might find it useful. Basically, to oversimplify to the very brink of heresy, Watcher is a GPX viewer that turns your GPX files into "Geocaching.com on steroids on your desktop." (Oh, and yes, Watcher lets you merge... it also sorts, filters, shows, tags, browses, notes, saves, and... um... I can't remember it all. ) [[[ ClayJar Networks ]]] Home of Watcher downloads, Official Geocaching Chat, and the Geocache Rating System Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.