Clear gotele and gotdate when we see the start of a trkpt element to
avoid inheriting previous data.
This commit is contained in:
parent
58e50383f9
commit
2ba147e7fa
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,8 @@ module OSM
|
|||
lat = attributes['lat'].to_f
|
||||
lon = attributes['lon'].to_f
|
||||
gotlatlon = true
|
||||
gotele = false
|
||||
gotdate = false
|
||||
@possible_points += 1
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue