Classification and Palette editor - ObjectVision/GeoDMS GitHub Wiki
User Guide GeoDMS GUI - classification and palette editor

With the classification and palette editor you can edit the (number of) classes, the type of classification and the colors used for each class.
Edits made with this editor are only used in the current session. To keep the edits, add them to the relevant configuration file or edit them there; see the section classification.
You can also edit a color, a label or a class break when the data item behind it has a calculation rule. The configured item is never written. Instead, this happens:
- On the first edit, the values that the configured item currently computes are copied into a view-local item under
/Desktops/<desktop>/ViewData/. - The layer is re-themed onto that copy.
- Every following edit of the same cell goes to the copy.
See Map View Legend for what is copied and what is not. Changing the number of classes resizes the class unit itself, and this copy does not cover that.
You open the editor from the Map View Legend: choose Edit Palette in the pop-up menu of a layer with a classification.
The editor has its own pop-up menu (right mouse click outside the columns). Next to the Classify submenu, it offers Copy Classbreaks and Paste Classbreaks. The Map View Legend pop-up menu has the same two options. Together they carry a classification, with its colors and labels, from one view to another over the clipboard. See the Map View Legend for the clipboard format. It also explains what happens when the classification of the target layer is configured rather than generated for the view.
-
BrushColor: a column with the colors used as BrushColor. To edit a color, double-click its cell. A color dialogue appears: the Qt color dialogue, which is also available on Linux. It has an opacity slider, where 0% makes the color fully transparent. Only fully opaque and fully transparent colors are drawn. If you pick an opacity in between, the color is stored as the nearest of the two, and a warning in the event log says which one. The pop-up menu for this column has the generic table column menu options, plus these:
- Remove BrushColor: remove the column from the view.
- ramp Colors: ramp the colors between the start and end color. Or ramp them in two parts: between the start and an intermediate color, and between that intermediate color and the end color. To set an intermediate color, select a cell in the column, choose a color and keep the cell highlighted.
- Change Brush/Pen Color: select a color from a palette editor, or make the color of the brush or the pen fully transparent.
- Classify data item: classify the original data item; see the class's column.
- Classes: split the current class, or merge two or more existing classes.
-
LabelText: to edit a label, activate the cell and type a new label. Or press the F2 function key and edit the current label. The pop-up menu for this column has the generic table column menu options, plus these:
- Remove LabelText: remove the column from the view.
- Classify data item: classify the original data item; see the class's column.
- Classes: split the current class, or merge two or more existing classes.
- ReLabel: replace the contents of the label column with labels derived from the class boundaries.
-
classBreaks: to edit a class, activate the cell and type a new class value. Or press the F2 function key and edit the current class value. The pop-up menu for this column has the generic table column menu options, plus these:
- Remove ClassBreaks: remove the column from the view.
- Classify data item: reclassify the original data item. First, enter the number of requested classes in the class's text box. Then select one of the available types of classification:
- Unique values (available for all data items whose number of unique values fits in the range of the domain unit): a class is added for each value that occurs in the data item. The number of classes is based on the number of unique values. The maximum number of classes depends on the domain unit of the class unit.
- Equal counts non-zero (available when the data item has two or more different values and contains 0 or values of both signs): like Equal counts, but the value 0 is treated separately. The class breaks are those of ClassifyNonzeroEqualCount.
- Equal counts (available when the data item has two or more different values): the data is split into classes that, as far as possible, each hold the same number of elements. It works as follows:
- The class breaks are first set at the number of sorted data elements (without the no-data values) divided by the number of requested classes.
- For each class break, the next data element is checked. If it has the same value as the element at the break, the break moves to the next element. This repeats until an element with a new value is found.
- If no such element is found before the next class break, the last class break is removed and the number of classes goes down by one.
- Equal intervals non-zero (available with two or more requested classes, when the data item has two or more different values and contains 0 or values of both signs): like Equal intervals, but the value 0 is treated separately. The class breaks are those of ClassifyNonzeroEqualInterval.
- Equal intervals (available with two or more requested classes, when the data item has two or more different values): the range of the data in a data item, or the specified range of a values unit, is split into intervals of the same size. If no range is specified, the default range for the value type of the unit is used.
- JenksFisher non-zero (available with two or more requested classes, when the data item has more different values than requested classes and contains 0 or values of both signs): like JenksFisher, but the value 0 is treated separately. The class breaks are those of ClassifyNonzeroJenksFisher.
- JenksFisher (available with two or more requested classes, when the data item has more different values than requested classes): applies the JenksFisher classification method to minimize the variance within each class.
- Logarithmic intervals (available with two or more requested classes, when the data item has two or more different values and no negative values): the range of the data in a data item, or the specified range of a values unit, is split into intervals of the same size on a logarithmic scale. If no range is specified, the default range for the value type of the unit is used.
- Classes: split the current class, or merge two or more existing classes.
-
Count: a derived column with the number of elements in each class. You cannot edit the values. The pop-up menu for this column has the generic table column menu options, plus these:
- Remove count: remove the column from the view.
- Ramp values: this option is disabled.
- Classify data item: classify the original data item; see the class's column.
- Classes: split the current class, or merge two or more existing classes.