File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def printTimeStamp(ds):
59
59
ts .hour , ts .minute , ts .second , ds % 1000 )
60
60
61
61
bounds = [[ 180.0 , 180.0 ],
62
- [- 180.0 ,- 180.0 ]]
62
+ [- 180.0 ,- 180.0 ]]
63
63
for sample in data :
64
64
bounds [0 ][0 ] = min (bounds [0 ][0 ],sample [PART_INDEX_LAT ])
65
65
bounds [0 ][1 ] = min (bounds [0 ][1 ],sample [PART_INDEX_LON ])
@@ -77,19 +77,19 @@ def printTimeStamp(ds):
77
77
</metadata>
78
78
<trk>
79
79
<trkseg>''' % ( NAME ,
80
- printTimeStamp (TIME ),
81
- bounds [1 ][1 ],
82
- bounds [1 ][0 ],
83
- bounds [0 ][1 ],
84
- bounds [0 ][0 ] )
80
+ printTimeStamp (TIME ),
81
+ bounds [1 ][1 ],
82
+ bounds [1 ][0 ],
83
+ bounds [0 ][1 ],
84
+ bounds [0 ][0 ] )
85
85
86
86
for sample in data :
87
87
out += '''
88
88
<trkpt lon="%3.14f" lat="%3.14f">
89
89
<time>%s</time>
90
90
</trkpt>''' % ( sample [PART_INDEX_LON ],
91
- sample [PART_INDEX_LAT ],
92
- printTimeStamp (sample [PART_INDEX_TIME ]) )
91
+ sample [PART_INDEX_LAT ],
92
+ printTimeStamp (sample [PART_INDEX_TIME ]) )
93
93
94
94
out += '''
95
95
</trkseg>
You can’t perform that action at this time.
0 commit comments