-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
teach lowranceusr about track segments (#1306)
* teach lowranceusr about track segments. lowranceusr versions 2 & 3 have a continuous flag used to indicate dicontinuities in a trail. The lowranceusr version 2 & 3 reader now flags trail discontinuities as new track segements. The lowranceusr version 2 & 3 writer now flags new track segments as discontinuities. Also fix two subtle bugs: 1) when reading a version 2 or 3 trail with the break option we would fail to break the trail if the discontinuity was at the start of a section other than the first section. 2) when writing a version 2 or 3 trail with the merge option if the number of points exceeded MAX_TRAIL_POINTS we would write a header that indicated MAX_TRAIL_POINTS but actually write MAX_TRAIL_POINTS + 1. * add lowranceusr test for track segments.
- Loading branch information
Showing
5 changed files
with
7,577 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.