diff --git a/src/pykml/util.py b/src/pykml/util.py index ae2c1df..dda16b7 100644 --- a/src/pykml/util.py +++ b/src/pykml/util.py @@ -70,8 +70,7 @@ def ring_coords_to_wkt(ring): ring_wkt_list = [] context = etree.iterwalk( doc, - events=("start",), - tag="{http://www.opengis.net/kml/2.2}*", + events=("start",) ) for action, elem in context: if elem.tag in ['{http://www.opengis.net/kml/2.2}Polygon',