Merge branch 'release/v13.92' into master
This commit is contained in:
@@ -157,6 +157,8 @@ def kmltocourse(f):
|
|||||||
doc = et.parse(f)
|
doc = et.parse(f)
|
||||||
courses = doc.findall('.//opengis:Folder[opengis:Placemark]',ns)
|
courses = doc.findall('.//opengis:Folder[opengis:Placemark]',ns)
|
||||||
|
|
||||||
|
if not courses:
|
||||||
|
courses = doc.findall('.//opengis:Document[opengis:Placemark]',ns)
|
||||||
if not courses:
|
if not courses:
|
||||||
courses = doc.findall('.//opengis:Placemark',ns)
|
courses = doc.findall('.//opengis:Placemark',ns)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user