struct RGPS
// GPS record/system time SYNC
{
char
RecordType[4];
// “GGA”
DWORD
TickCount;
// CPU tick count
double
PositionGPS[4];
// Latitude (positive if 'N'),
//Longitude (positive if ‘E’),
// Altitude, FIXUTC
};
struct RDMT
// Distance mark/system time SYNC
{
DWORD ScanNumber;
// 24 bit scan number
DWORD TickCount;
// 32 bit internal clock tick count in mS
};
// constants
const int GPSAREASIZE
=
2 * sizeof(RGPS);
struct RGPS startGPSpos;
// the same as in RADAN file header
struct RDMT markTime[nMarks];
// one record for every distance or user mark
struct RGPS endGPSpos
// the same as in RADAN file header
Minimum file size is GPSAREASIZE.
// Header and footer only; file has no marks
nMarks can be calculated from file size as (FileSize – GPSAREASIZE)/ sizeof(RDMT); v