Parent Topic: Aggregate
You may also multiselect classes for deletion by selecting a class and pressing the Shift or CTRL key simultaneously.
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
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