

  {extends file="main.tpl"}
    <!DOCTYPE head PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><head xmlns="http://www.w3.org/1999/xhtml">
  {block name=title}GPSBabel development:Remove all waypoints, tracks, or routes (nuketypes){/block}
  {block name=body}
                       
  <div xmlns="http://www.w3.org/1999/xhtml" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Remove all waypoints, tracks, or routes (nuketypes)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="filter_sort.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Data Filters</th><td width="20%" align="right"> <a accesskey="n" href="filter_duplicate.html">Next</a></td></tr></table><hr /></div><div xmlns="http://www.w3.org/1999/xhtml" class="section"><div class="titlepage"><div><div><h2 class="title" ><a id="filter_nuketypes"></a>Remove all waypoints, tracks, or routes (nuketypes)</h2></div></div></div><p>
There are three main types of data that GPSBabel deals with:
waypoints, tracks, and routes.   The nuketypes filter allows
removing all the data of any or all of those three types.
</p><div class="example"><a id="example_nuketypes_filter"></a><p class="title"><strong>Example 4.14. Filtering data types with nuketypes</strong></p><div class="example-contents"><p>
If you have a GPX file that contains routes, tracks, and
waypoints and you want a GPX file that contains only tracks,
you may use this filter to remove the waypoints and the routes 
with this command:
</p><p><strong class="userinput"><code>gpsbabel -i gpx -f bigfile.gpx -x nuketypes,waypoints,routes -o gpx -F tracksonly.gpx</code></strong></p></div></div><br class="example-break" /><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_nuketypes_o_waypoints"></a>waypoints option</h3></div></div></div><p>
      Remove all waypoints from data stream.
    </p><p>
This option causes the nuketypes filter to discard all waypoints that are not 
associated with a track or route.
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_nuketypes_o_tracks"></a>tracks option</h3></div></div></div><p>
      Remove all tracks from data stream.
    </p><p>
This option causes the nuketypes filter to discard all track data.
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_nuketypes_o_routes"></a>routes option</h3></div></div></div><p>
      Remove all routes from data stream.
    </p><p>
This option causes the nuketypes filter to discard all route data.
</p></div></div><div xmlns="http://www.w3.org/1999/xhtml" class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="filter_sort.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Data_Filters.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="filter_duplicate.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Rearrange waypoints by resorting (sort) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Remove Duplicates (duplicate)</td></tr></table></div>
  
      {/block}
  