From: Martin Skorupski Date: Tue, 8 Oct 2024 16:50:23 +0000 (+0200) Subject: All links to kml X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=d088a06799a1b5eb099c8093f3314787416e1824;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: I0ed2e75bf32955e489fb55889c1beab26bb7b073 Signed-off-by: Martin Skorupski --- 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