You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/tim/Desktop/testkml.py", line 33, in <module>
print (k.etree_element())
File "/home/tim/.local/lib/python3.10/site-packages/fastkml/kml.py", line 127, in etree_element
root.append(feature.etree_element())
File "/home/tim/.local/lib/python3.10/site-packages/fastkml/kml.py", line 990, in etree_element
element = super(Document, self).etree_element()
File "/home/tim/.local/lib/python3.10/site-packages/fastkml/kml.py", line 616, in etree_element
element.append(feature.etree_element())
File "/home/tim/.local/lib/python3.10/site-packages/fastkml/kml.py", line 616, in etree_element
element.append(feature.etree_element())
File "/home/tim/.local/lib/python3.10/site-packages/fastkml/kml.py", line 1104, in etree_element
element.append(self._geometry.etree_element())
File "/home/tim/.local/lib/python3.10/site-packages/fastkml/geometry.py", line 287, in etree_element
raise ValueError("Illegal geometry type.")
ValueError: Illegal geometry type.
Input kml:
The spec seems to allow for empty MultiGeometry https://developers.google.com/kml/documentation/kmlreference#multigeometry
The text was updated successfully, but these errors were encountered: