[OSM-newbies] Removing Waypoints from GPX

Craig Wallace craigw84 at fastmail.fm
Sun May 31 01:16:01 BST 2009


On 31/05/2009 20:35, Donald Campbell II wrote:
> Hello everyone.  I've met a nice fellow from the jungle (seriously) 
> who had some GPX files from his area saved.  He's kindly agreed to let 
> me use them for openstreetmap with the condition that I veto some of 
> the waypoints which have private information in them.  So how do I 
> strip the waypoint data from a GPX file so that I can upload the 
> cleaned up tracks?  I'm using a Mac, familiar with JOSM, but have 
> access to Windows and Linux if needed.
You could do this using GpsBabel: http://www.gpsbabel.org/
Its available for Mac, Windows or Linux, with a few different GUIs or a 
command line version.
Set the input and output formats to GPX, and use the "nuketypes" filter: 
http://www.gpsbabel.org/htmldoc-1.3.6/filter_nuketypes.html
In the Windows GUI this is on the "Options" menu.

Or from the command line, use something like this:
gpsbabel -t -i gpx -f in.gpx -x nuketypes,waypoints,routes -o gpx -F out.gpx




More information about the newbies mailing list