From: Martin Skorupski Date: Tue, 8 Oct 2024 16:49:44 +0000 (+0200) Subject: All links to kml X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F32%2F13532%2F1;p=oam.git 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 --- 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