| 1 |
<para> |
| 2 |
The Garmin units seem to use the creation timestamp of GPI files for internal purposes. |
| 3 |
In other words, if you load GPI files with same creation timestamp on your device, |
| 4 |
strange things will happen, such as having missing or repeated POIs. With the sleep option, GPSBabel waits a given |
| 5 |
number of seconds after the GPI file was written. |
| 6 |
</para> |
| 7 |
<para> |
| 8 |
In the normal case of using GPSBabel from the command line or from the GUI, the chance of creating files |
| 9 |
with the same timestamp is in the nearly ZERO. In scripts or batch files where you are writing multiple files - even from different GPSBabel instances - the odds of this happening is rather good. |
| 10 |
The sleep option forces GPSBabel to wait after creating a file to ensure the timestamps are unique. Values are specified in seconds and can be 1 or more. |
| 11 |
</para> |
| 12 |
<para> |
| 13 |
<userinput> |
| 14 |
gpsbabel -i gpx -f "SpeedCameras.gpx" -o garmin_gpi,sleep=1 -F "SpeedCameras.gpi" |
| 15 |
</userinput> |
| 16 |
</para> |