]> git.openstreetmap.org Git - rails.git/blobdiff - lib/osm.rb
Clear gotele and gotdate when we see the start of a trkpt element to
[rails.git] / lib / osm.rb
index 916cf4d6a4ed757d3b2e436685ab4d19b959d23e..b14a7f3e8ed32b03b6574123cc7ac401eb82a46c 100644 (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