Parent Topic: Aggregate Classes
Load
This panel is used to initialize a class list that is to import definitions of classes from either a text file or from the meta-data associated with a channel.

You may choose to import class names, values, and colour from almost any file and channel. The classes are not actually imported until you press the ``Accept'' button. The classes you see in the panel are merely a preview of what the classes would like if you imported them.

The ``Overwrite existing classes'' option allows the user to ignore existing class definitions in the class list and replace them from the import list.


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: Aggregate Classes
About PCI Help Gateway