Debian Codegraph @

xmldoc/filters/options/duplicate-all.xml

raw
1 <para>
2 When this option is specified, GPSBabel will remove all instances of a
3 duplicated waypoint, not just the second and subsequent instances. If
4 your input file contains waypoints A, B, B, and C, the output file will
5 contain waypoints A, B, and C without the <option>all</option> option,
6 or just A and C with the <option>all</option> option.
7 </para>
8 <example xml:id="duplicate_to_ignore">
9 <title>Using the duplicate filter to implement an "ignore list."</title>
10 <para>
11 This option may be used to implement an "ignore list." In the following
12 example, the duplicate filter is used to remove a list of waypoints to be
13 ignored from a larger collection of waypoints:
14 </para>
15 <para><userinput>gpsbabel -i gpx -f waypoints.gpx -i csv -f to_ignore.csv -x duplicate,shortname,all -o gpx -F filtered.gpx</userinput></para>
16 </example>