summaryrefslogtreecommitdiff
path: root/gpsdecode.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-21 05:42:43 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-21 05:42:43 -0400
commit279ddb6ebbb4c01a2ebf306bab227df09f12fb96 (patch)
treee8c3c5c36593df8cd748202b4a9cc6bcb1e6fd58 /gpsdecode.xml
parent9fa0d5a5f41dd298d73051458189536dfe8f4ccd (diff)
downloadgpsd-279ddb6ebbb4c01a2ebf306bab227df09f12fb96.tar.gz
Inplement -t option of gpsdecode for type filtering.
Intended mainly for selective reports from very large AIS logs.
Diffstat (limited to 'gpsdecode.xml')
-rw-r--r--gpsdecode.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/gpsdecode.xml b/gpsdecode.xml
index b32488e6..70b49dc9 100644
--- a/gpsdecode.xml
+++ b/gpsdecode.xml
@@ -26,6 +26,7 @@ BSD terms apply: see the file COPYING in the distribution root for details.
<arg choice='opt'>-d</arg>
<arg choice='opt'>-e</arg>
<arg choice='opt'>-j</arg>
+ <arg choice='opt'>-t <replaceable>typelist</replaceable></arg>
<arg choice='opt'>-u</arg>
<arg choice='opt'>-v</arg>
<arg choice='opt'>-D <replaceable>debuglevel</replaceable></arg>
@@ -72,6 +73,12 @@ encode JSON on standard input to JSON on standard output. This option
is only useful for regression-testing of the JSON dumping and parsing
code.</para>
+<para>The <option>-t</option> accepts a comma-separated list of
+numeric types. Packets with a numeric AIS, RTCM2, or RTCM3 type are
+passed through and output only if they match a type in the
+list. Packets of other kinds (in particular GPS packets) are
+passed through unconditionally.</para>
+
<para>The <option>-u</option> suppresses scaling of AIS data to float
quantities and text expansion of numeric codes. A dump with this
option is lossless.</para>