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