From 2ba147e7fa0ba03fbf9881b54271dffd0b6bc02b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 26 Nov 2007 16:28:28 +0000 Subject: [PATCH] Clear gotele and gotdate when we see the start of a trkpt element to avoid inheriting previous data. --- lib/osm.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/osm.rb b/lib/osm.rb index 916cf4d6a..b14a7f3e8 100644 --- a/lib/osm.rb +++ b/lib/osm.rb @@ -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 -- 2.45.1