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