by hjsmuc » Fri Nov 05, 2021 11:00 am
That's very interesting, thank you.
I tried it and I got an error with my kml file:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python38-32\lib\tkinter\__init__.py", line 1883, in __call__
return self.func(*args)
File "C:\Users\hjsla\Desktop\VSF-Routing-main\vsfroute-0.8.pyw", line 115, in konvertieren
waypoints=root.getElementsByTagName("LineString")[0].firstChild.nextSibling.firstChild.data
IndexError: list index out of range
However, it is a kml file generated by qtvlm and not by opencpn. Could this be the reason?
Do you think you could make the script usable with csv files?
Best regards
Hans
That's very interesting, thank you.
I tried it and I got an error with my kml file:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python38-32\lib\tkinter\__init__.py", line 1883, in __call__
return self.func(*args)
File "C:\Users\hjsla\Desktop\VSF-Routing-main\vsfroute-0.8.pyw", line 115, in konvertieren
waypoints=root.getElementsByTagName("LineString")[0].firstChild.nextSibling.firstChild.data
IndexError: list index out of range
However, it is a kml file generated by qtvlm and not by opencpn. Could this be the reason?
Do you think you could make the script usable with csv files?
Best regards
Hans