| 1 |
<para> |
| 2 |
gps-week-rollover is used to override the best-guessing of GPS week rollover period |
| 3 |
we're currently in: skytraq log data contains dates in the form of GPS weeks, |
| 4 |
which roll over to 0 every 1024 weeks (close to 20 years). |
| 5 |
</para> |
| 6 |
|
| 7 |
<table xml:id="gps_week_rollovers"> |
| 8 |
<title>GPS week rollover dates</title> |
| 9 |
<tgroup cols="2"> |
| 10 |
<thead> |
| 11 |
<row> |
| 12 |
<entry>Starting from:</entry> |
| 13 |
<entry>gps-week-rollover value:</entry> |
| 14 |
</row> |
| 15 |
</thead> |
| 16 |
<tbody> |
| 17 |
<row> |
| 18 |
<entry>1980-01-06 00:00:00 UTC</entry> |
| 19 |
<entry>0</entry> |
| 20 |
</row> |
| 21 |
<row> |
| 22 |
<entry>1999-08-21 23:59:47 UTC</entry> |
| 23 |
<entry>1</entry> |
| 24 |
</row> |
| 25 |
<row> |
| 26 |
<entry>2019-04-06 23:59:42 UTC</entry> |
| 27 |
<entry>2</entry> |
| 28 |
</row> |
| 29 |
</tbody> |
| 30 |
</tgroup> |
| 31 |
</table> |
| 32 |
|
| 33 |
<para> |
| 34 |
The default behavior when gps-week-rollover isn't given (or is a negative number) |
| 35 |
is to assume the input data has been logged within the preceding 1024 weeks from the |
| 36 |
time gpsbabel is run, which should be perfectly fine in almost all cases. |
| 37 |
</para> |
| 38 |
|
| 39 |
<para> |
| 40 |
The following example: |
| 41 |
<screen> |
| 42 |
<command>gpsbabel</command> -i skytraq.bin,gps-week-rollover=1 -f <replaceable>filename.bin</replaceable> |
| 43 |
</screen> |
| 44 |
|
| 45 |
indicates that logged data is assumed to be from the period between 21/22 Aug 1999 and 6/7 April 2019. |
| 46 |
</para> |