From f2a1087a6453dc433d988d9b5690cede7cc3bddf Mon Sep 17 00:00:00 2001 From: Martin Skorupski Date: Tue, 8 Oct 2024 18:49:44 +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: I3ff6454c1b2df77cf071d73a1a66c5c1b8eba9df Signed-off-by: Martin Skorupski --- code/network-generator/network_generation/model/python/tower.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/network-generator/network_generation/model/python/tower.py b/code/network-generator/network_generation/model/python/tower.py index efcc1e2..214e6e1 100644 --- a/code/network-generator/network_generation/model/python/tower.py +++ b/code/network-generator/network_generation/model/python/tower.py @@ -110,11 +110,7 @@ class Tower(ORanNode): return self._o_ran_rus def toKml(self) -> ET.Element: - tower: ET.Element = ET.Element("Folder") - open: ET.Element = ET.SubElement(tower, "open") - open.text = "1" - name: ET.Element = ET.SubElement(tower, "name") - name.text = self.name + tower = super().toKml() for o_ran_ru in self.o_ran_rus: tower.append(o_ran_ru.toKml()) return tower -- 2.16.6