Debian Codegraph @

xmldoc/filters/duplicate.xml

raw
1 <para>
2 The duplicate filter is designed to remove duplicate points based on their
3 short name (traditionally a waypoint's name on the GPS receiver), and/or
4 their location (to a precision of 6 decimals). This filter supports two
5 options that specify how duplicates will be recognized,
6 <option>shortname</option> and <option>location</option>.
7 At least one of these options is required.
8 </para>
9 <example xml:id="duplicate_to_suppress_points">
10 <title>Using the duplicate filter to suppress points with the same
11 name and location</title>
12 <para>
13 This command line removes points that have duplicate short names
14 and duplicate locations. The result would be a
15 <link linkend="fmt_gpx">gpx</link> file that more than likely
16 contains only unique points and point data.
17 </para>
18 <para><userinput> gpsbabel -i gpx -f 1.gpx -f 2.gpx -x duplicate,location,shortname -o gpx -F merged_with_no_dupes.gpx</userinput></para>
19 </example>