Latest Potlatch, plus TomH's GPX fix
This commit is contained in:
parent
325aa7ecdf
commit
6efdcaa993
5 changed files with 11 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue