From 737437032e2eabc74e484414c243e408b33a42d5 Mon Sep 17 00:00:00 2001 From: PeterQFR Date: Thu, 31 Jul 2025 14:11:51 +1000 Subject: [PATCH] Update point.py increase precision for transcoded point data for better positioning. --- taky/cot/models/point.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taky/cot/models/point.py b/taky/cot/models/point.py index 16b28cb..1e9baa2 100644 --- a/taky/cot/models/point.py +++ b/taky/cot/models/point.py @@ -45,8 +45,8 @@ def from_elm(elm): @property def as_element(self): ret = etree.Element("point") - ret.set("lat", "%.6f" % self.lat) - ret.set("lon", "%.6f" % self.lon) + ret.set("lat", "%.13f" % self.lat) + ret.set("lon", "%.13f" % self.lon) ret.set("hae", "%.1f" % self.hae) ret.set("ce", "%.1f" % self.ce) ret.set("le", "%.1f" % self.le)