[Gpsbabel-misc] -x filter to 'ignore'
Brought to you by:
robertl
From: Gary P. <gpa...@ow...> - 2003-02-25 20:56:46
|
I figured out the -x parameter from another e-mail but wondered if another 'feature could be added? (ps, it does not show up in the 'options' when you run gpsbabel -? even though the parameters for data filters show at the bottom.) I use gpx2html http://home.attbi.com/~fizzymagic/gpx2html.html and one feature it has that is nice is that you can provide a file of waypoints that are ignored. I am thinking maybe could be similar setup to the filter where you could put in ignore and either shortname or location? Just an idea thought I would toss in the hopper. For those using their palm/visor for paperless caching this is a great little program - the output is much better than the mobipocket document provided by geocaching.com plus it allows you to 'correct cache coordinates' for multistage/puzzle caches and also create indexes from multiple lat/lon points so in 1 file I have indexes from my home, my work, the next town, etc. Gary -----Original Message----- From: gps...@li... [mailto:gps...@li...]On Behalf Of Robert Lipe Sent: Tuesday, February 25, 2003 8:46 AM To: P. Roosen Cc: gps...@li... Subject: Re: [Gpsbabel-misc] N/S-E/W error in Magellan output P. Roosen wrote: > today I detected an error when converting GPX files to Magellan outputs: > > In magproto.c lines 1105 and 1106 the W/E and S/N behaviour is messed in > the current CVS. Oh, dear. I hosed that in a couple of ways... Do you agree this is a correct fix? RJL Index: magproto.c =================================================================== RCS file: /cvsroot/gpsbabel/gpsbabel/magproto.c,v retrieving revision 1.46 diff -p -u -r1.46 magproto.c --- magproto.c 11 Feb 2003 19:47:43 -0000 1.46 +++ magproto.c 25 Feb 2003 16:44:31 -0000 @@ -1117,8 +1117,8 @@ mag_waypt_pr(const waypoint *waypointp) } sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.30s,%s", - lat, ilon < 0 ? 'N' : 'S', - lon, ilat < 0 ? 'E' : 'W', + lat, ilat < 0 ? 'S' : 'N', + lon, ilon < 0 ? 'W' : 'E', waypointp->position.altitude.altitude_meters == unknown_alt ? 0 : waypointp->position.altitude.altitude_meters, owpt, ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Gpsbabel-misc mailing list Gps...@li... https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.458 / Virus Database: 257 - Release Date: 2/24/2003 |