summaryrefslogtreecommitdiff
path: root/gps.xml
diff options
context:
space:
mode:
authorJeff Francis <jeff@gritch.org>2008-08-15 19:51:50 +0000
committerJeff Francis <jeff@gritch.org>2008-08-15 19:51:50 +0000
commit643be0dd49dcd201d17236d64706bc0e83f39008 (patch)
tree397e93712e2d40be76cc0cd29fede838c7014916 /gps.xml
parent27a474a4b7a425b592c84f7226d6a20577dec8c5 (diff)
downloadgpsd-643be0dd49dcd201d17236d64706bc0e83f39008.tar.gz
Add the option of displaying calculated magnetic heading rather than
true heading. Calculations taken from the Aviation Formulary v1.43.
Diffstat (limited to 'gps.xml')
-rw-r--r--gps.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/gps.xml b/gps.xml
index 241591e6..446586f6 100644
--- a/gps.xml
+++ b/gps.xml
@@ -60,6 +60,7 @@
<arg choice='opt'>-speedunits <group choice='req'><arg>mph</arg><arg>kph</arg><arg>knots</arg></group></arg>
<arg choice='opt'>-altunits <group choice='req'><arg>feet</arg><arg>meters</arg></group></arg>
<arg choice='opt'>-l <group><arg>d</arg><arg>m</arg><arg>s</arg></group></arg>
+ <arg choice='opt'>-m </arg>
<group>
<replaceable>server</replaceable>
<group>
@@ -161,6 +162,14 @@ command.</para>
<para>The <option>-j</option> option is as described for xgps above.</para>
+<para>The <option>-m</option> option will display your magnetic
+ heading (as opposed to your true heading). This is a calculated
+ value, not a measured value, and is subject to a potential error of
+ up to two degrees in the areas for which the calculation is valid
+ (currently Western Europe, Alaska, and Lower 48 in the USA). The
+ formulas used are those found in the Aviation Formulary
+ v1.43.</para>
+
<para>Rather than use X resources to determine which units to use,
<application>cgps</application> looks at variables in its environment.
Here are the variables and values it checks:</para>