Category: Carlson Survey / C&G | ||
Topic ID: 736 | ||
Title: C&G raw data formats | ||
| ||
C&G raw data formats There are two types of C&G raw data files. The .RAW is the old type used by the DOS and CGField software products. The .CGR file is the new type used by CGSurvey for Windows and CGSurvey for AutoCAD. .RAW file format: There are two versions of the .RAW file, a two-byte code and four-byte code file. If the version in the header is 3 it is a 4 byte code file. If it is 2, it is a two-byte code file. Version 3: Record Length of Raw Data File without Description = 69 (67 + 2 for CR and LF) The description length can vary from one .RAW file to the next. To find the record length, get the description length from first record and add 69 to it. Another way to get the description length is to read the number of bytes through the first LF, and then subtract 69 from it to get the description length. Version 2: Record Length of Raw Data File without Description = 67 (65 + 2 for CR and LF) The description length can vary from one .RAW file to the next. To find the record length, get the description length from first record and add 67 to it. Another way to get the description length is to read the number of bytes through the first LF, and then subtract 67 from it to get the description length. All records (including the header) are the same length. All records end with | ||
| ||
| ||
|