Добавил обработку координат для жижи
This commit is contained in:
parent
83e99edfa9
commit
46ec037307
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ def generate_kml(file: StringIO, track_name: str):
|
||||||
points = []
|
points = []
|
||||||
|
|
||||||
for line in file.readlines():
|
for line in file.readlines():
|
||||||
|
if line.strip() == line:
|
||||||
|
continue
|
||||||
coords = line.split(":")
|
coords = line.split(":")
|
||||||
coord = coords[0].strip()
|
coord = coords[0].strip()
|
||||||
current_label = int(coords[1].strip())
|
current_label = int(coords[1].strip())
|
||||||
|
|
Loading…
Add table
Reference in a new issue