From d088a06799a1b5eb099c8093f3314787416e1824 Mon Sep 17 00:00:00 2001 From: Martin Skorupski Date: Tue, 8 Oct 2024 18:50:23 +0200 Subject: [PATCH] All links to kml - use generic method 'toKml' for folder, placemark, point, and line representation - fix GeoLocation type issue Issue-ID: OAM-395 Change-Id: I0ed2e75bf32955e489fb55889c1beab26bb7b073 Signed-off-by: Martin Skorupski --- code/network-generator/network_generation/model/python/o_ran_du.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/network-generator/network_generation/model/python/o_ran_du.py b/code/network-generator/network_generation/model/python/o_ran_du.py index dd51f53..8dca087 100644 --- a/code/network-generator/network_generation/model/python/o_ran_du.py +++ b/code/network-generator/network_generation/model/python/o_ran_du.py @@ -95,11 +95,7 @@ class ORanDu(ORanNode): return result def toKml(self) -> ET.Element: - o_ran_du: ET.Element = ET.Element("Folder") - open: ET.Element = ET.SubElement(o_ran_du, "open") - open.text = "1" - name: ET.Element = ET.SubElement(o_ran_du, "name") - name.text = self.name + o_ran_du = super().toKml() # for tower in self.towers: # o_ran_du.append(tower.toKml()) return o_ran_du -- 2.16.6