Parent Topic: Load

Class List Format
This section describes the format of a text file containing class information. The format used is quite simple. The file is limited to one class per line and has four fields delimited by a ``|'' character.

The first field is the value. The second field contains the name. The third field contains the colour which is represented as an RGB tuple in the following format:

  (RGB: rrr ggg bbb)
The fourth field is the description of the class.

The last field is a list of associated class values, this is used only to save aggregation session information. This field is optional

Here is an example of a text field describing three classes:

1 | Water        | (RGB: 0 0 255) | Water class | 10,20
2 | Crop         | (RGB: 0 255 0) | Crops       |
3 | Other Class  | (RGB: 255 0 0) | Water class | 40

Parent Topic: Load
About PCI Help Gateway