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 <martin.skorupski@highstreet-technologies.com>
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 @@
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