in reply to Re^4: Calculate aircraft headings from GPS data for google kml display
in thread Calculate aircraft headings from GPS data for google kml display
Without looking at the calcs in detail, I would say that you should convert the data (if size is not prohibitive) to a hash where each key is the aircraft ID and the value is an array hashes containing the other data points from each row with that aircraft ID.
You can then easily loop over the aircraft IDs. Assuming the data rows are already sorted by time it should be a relatively simple matter to step through the array items at that point calculating the deltas.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Calculate aircraft headings from GPS data for google kml display
by hujunsimon (Sexton) on Jun 09, 2014 at 23:50 UTC | |
by hujunsimon (Sexton) on Jun 09, 2014 at 23:53 UTC | |
by boftx (Deacon) on Jun 10, 2014 at 00:17 UTC |