From 18294f4ca3dac5845417698dd6c7c07eecc1d292 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 10 Sep 2025 12:48:33 -0700 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index e52cfb0..b3cffef 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -926,10 +926,10 @@ def distance(lat=0,lon=0,nodeID=0, reset=False): area = abs(area) / 1e6 # convert to square kilometers if use_metric: - msg += f", Area Sq.Km: {area:.2f} sq.km (approx)" + msg += f", Area: {area:.2f} sq.km (approx)" else: area_miles = area * 0.386102 - msg += f", Area Sq.Miles: {area_miles:.2f} sq.mi (approx)" + msg += f", Area: {area_miles:.2f} sq.mi (approx)" #calculate the centroid of the polygon x = 0.0