X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9afb35449b066fdef6b4af3b63e30e7f4eb4c5cf..3aa8ffbcb8fa60a71f3f58b869ecd10bb397fd10:/app/models/trace.rb?ds=sidebyside diff --git a/app/models/trace.rb b/app/models/trace.rb index 4cac233c2..baf2ea7d2 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -190,7 +190,7 @@ class Trace < ActiveRecord::Base tp = Tracepoint.new tp.lat = point['latitude'].to_f - tp.lng = point['longitude'].to_f + tp.lon = point['longitude'].to_f tp.altitude = point['altitude'].to_f tp.timestamp = point['timestamp'] tp.gpx_id = id