The code table is a simple text file where the individual codes are assigned corresponding descriptions. The structure of a code file is clear from the below example:
1=Building 2=Fence 3=Tree 4=Post 5=Lamp 6=Pole 7=Beacon 8=Entrance 9=Orientation 10=PBBP 11=Nivelation mark 12=Wall above 13=Wall down 14=Road
In this code file, only numeric codes were used, but generally the codes can be formed by any alphanumeric signs.
In addition, the code table can contain these special items:
Table 9.1. Special items of a code table
Item | Description |
---|---|
@Title= | Name of the code table |
@Default= | This description is displayed for all the items whose code was not found in the code table. If this option wasn't applied, the program will display the original code instead of the description. |
@Empty= | This description is displayed for all the items with no code. |
@Separator= | If you mark the point while measuring with more codes, you can set how the individual descriptions shall be separated on the outputs using this item. If you don't use this option, the program will always separate the program with one space. (the character separating the original table codes can be different, and you have to set in Settings->Coding: Code separator |
The code tables are stored in text files with the implicit extension .cod. You can create an arbitrary amount of code tables for various purposes. The GROMA program uses the table which is currently attached. If no table attached, the program displays the original codes.