| 1 |
<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="Data_Filters"> |
| 2 |
<title>Data Filters</title> |
| 3 |
<para> GPSBabel supports data filtering. Data filters are |
| 4 |
invoked from the command line via the '-x' option. It should be |
| 5 |
noted that data filters are invoked in the internal pipeline at |
| 6 |
the point that corresponds to their position on the |
| 7 |
command. This implies that specifying a filter before reading |
| 8 |
any data ('-x <filter> -f <file>'), despite being |
| 9 |
legal, will not have any effect. The advantage is that filters |
| 10 |
can be used intermittently between several variations of input |
| 11 |
and output functions. It should also be noted that filtering |
| 12 |
data from different input types can sometimes produce |
| 13 |
undesirable results due to differences in the native data |
| 14 |
formats. |
| 15 |
</para> |
| 16 |
<para> Beware that most filters only apply to a certain kind of |
| 17 |
data. This is usually indicated below by referring to points, |
| 18 |
tracks or routes in the first sentence which describes each |
| 19 |
filter or in the table at <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.gpsbabel.org/capabilities.html">gpsbabel.org</link> |
| 20 |
. |
| 21 |
</para> |
| 22 |
&filters; |
| 23 |
</chapter> |