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
|
lat = attributes['lat'].to_f
|
||||||
lon = attributes['lon'].to_f
|
lon = attributes['lon'].to_f
|
||||||
gotlatlon = true
|
gotlatlon = true
|
||||||
|
gotele = false
|
||||||
|
gotdate = false
|
||||||
@possible_points += 1
|
@possible_points += 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue