summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gps/misc.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/gps/misc.py b/gps/misc.py
index ac083612..9aaf151b 100644
--- a/gps/misc.py
+++ b/gps/misc.py
@@ -70,6 +70,9 @@ else: # Otherwise we do something real
# some multipliers for interpreting GPS output
+# Note: A Texas Foot is ( meters * 3937/1200)
+# (Texas Natural Resources Code, Subchapter D, §21.071 – 79)
+# not the same as an international fooot.
METERS_TO_FEET = 3.28083989501312 # Meters to U.S./British feet
METERS_TO_MILES = 0.000621371192237334 # Meters to miles
METERS_TO_FATHOMS = 0.546806649168854 # Meters to fathoms
@@ -80,6 +83,9 @@ MPS_TO_KPH = 3.6 # Meters per second to klicks/hr
MPS_TO_MPH = 2.2369362920544 # Meters/second to miles per hour
MPS_TO_KNOTS = 1.9438444924406 # Meters per second to knots
+# for high precision the geoid height should be used.
+# this code does not do that,
+
# EarthDistance code swiped from Kismet and corrected