Parent Topic: Aggregate

Aggregate Classes

This is a table representing the list of aggregate classes. You may use the buttons below the table to create, delete, or import classes.

You may also multiselect classes for deletion by selecting a class and pressing the Shift or CTRL key simultaneously.

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
Save
This panel allows the user to save the existing session so that it may be loaded at a later time. The text file contains all the information related to the Aggregate classes, including the source classes which comprise the aggregate. This text file may then be used to initialize subsequent sessions using the "Load" facitlity.

If the text file specified already exists, it may be overwritten.

To load a session select the "Load" button and a "Class Initialization" panel will appear. Select the "Text File" tab, then choose the file using the "Text File ..." button. Press Accept to confirm the load.

See Also: Class List Format


Parent Topic: Aggregate
About PCI Help Gateway