diff --git a/core/views/editor_helpers.py b/core/views/editor_helpers.py index e0838b6..c5390cf 100644 --- a/core/views/editor_helpers.py +++ b/core/views/editor_helpers.py @@ -212,7 +212,8 @@ def extract_gps(dict): else: print("failed to find latitude") - location = f"{latitude:08.5f} {latref}, {longitude:09.5f} {lonref}" + location = f'{latitude:09.6f} {latref}, {longitude:010.6f} {lonref}' + # 3 digits for longitude, 2 for latitude. print(direction) print(altitude) print(timestamp_utc)