X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9afb35449b066fdef6b4af3b63e30e7f4eb4c5cf..c3424e9cfb2542dedbf545a76d4ddb591c59df3d:/app/models/trace.rb 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