Clear gotele and gotdate when we see the start of a trkpt element to

avoid inheriting previous data.
This commit is contained in:
Tom Hughes 2007-11-26 16:28:28 +00:00
parent 58e50383f9
commit 2ba147e7fa

View file

@ -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