From 6c93cb9bd506bd3d81b034f9433729235231eb56 Mon Sep 17 00:00:00 2001 From: xssfox Date: Wed, 29 Jan 2025 13:42:11 +1100 Subject: [PATCH] kml fix --- lambda/query_ham/__init__.py | 56 ++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/lambda/query_ham/__init__.py b/lambda/query_ham/__init__.py index 8ac8b3c..ea558c9 100644 --- a/lambda/query_ham/__init__.py +++ b/lambda/query_ham/__init__.py @@ -426,35 +426,35 @@ def get_telem_full(event, context): # Generate the output KML. # This is probably the simplest way of handling this without bringing in # any other libraries. - kml_out = f""" - - 1 - - {start_datetime} {callsign} - Flight Path - 1 - - {start_datetime} {callsign} - 1 - - aaffffff - 2.0 - - - 20000000 - 1 - 1 - - - 1 - absolute - + kml_out = f""" + + + + {start_datetime} {callsign} + Flight Path + + {start_datetime} {callsign} + 1 + + + 1 + absolute + {kml_coords} - - - - - + + + + + + """ # Finally replace the data with the kml data