]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/trace.rb
Latest Potlatch, plus TomH's GPX fix
[rails.git] / app / models / trace.rb
index 0307b5f653eac11a6563c7b21b5fa7ceae23a36a..de9bda661f10c0034bd3444e99465064c5cf9a1d 100644 (file)
@@ -110,6 +110,7 @@ class Trace < ActiveRecord::Base
         tp.lat = point['latitude'].to_f
         tp.lng = point['longitude'].to_f
         tp.altitude = point['altitude'].to_f
+        tp.timestamp = point['timestamp']
         tp.user_id = user.id
         tp.gpx_id = id
         tp.trackid = point['segment'].to_i