

  {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 Points Within Distance (position){/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 Points Within Distance (position)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="filter_duplicate.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Data Filters</th><td width="20%" align="right"> <a accesskey="n" href="filter_discard.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_position"></a>Remove Points Within Distance (position)</h2></div></div></div><p> 
This filter removes points based on their proximity to each other.  A 
point is removed if it is within the specified distance of a point that 
has come before.
</p><div class="example"><a id="posn_to_suppress_close_points"></a><p class="title"><strong>Example 4.18. Using the position filter to suppress close points</strong></p><div class="example-contents"><p>
The following command removes multiple points that are within 
one foot of each other, leaving just one.
</p><p><strong class="userinput"><code>gpsbabel -i geo -f 1.loc -f 2.loc -x position,distance=1f -o mapsend -F 3.wpt</code></strong></p></div></div><br class="example-break" /><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_position_o_distance"></a>distance option</h3></div></div></div><p>
      Maximum positional distance.
    </p><p>
This option specifies the minimum allowable distance between two points.  If 
two points are closer than this distance, only one of them is kept.
</p><p>
Distances may be expressed in feet (30f) or meters (10m).  If no unit is 
specified, the distance is assumed to be in feet.
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_position_o_all"></a>all option</h3></div></div></div><p>
      Suppress all points close to other points.
    </p><p>
This option causes the position filter to remove all points that are within
the specified distance of one another, rather than leaving just one of them.
</p><p>
This option may be used to entirely remove clusters of points.
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_position_o_time"></a>time option</h3></div></div></div><p>
      Maximum time in seconds beetween two points.
    </p><p>
  Specifies the maximum time in seconds between any two points. If the 
  time difference is larger than what's specified here, the points will 
  not be discarded.
</p><p>
  This is useful if you have multiple tracks of the same course and you'd
  like the filter to consider the tracks the same.
</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_duplicate.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_discard.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Remove Duplicates (duplicate) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Remove unreliable points with high hdop or vdop (discard)</td></tr></table></div>
  
      {/block}
  