Domain type Class

A class domain is a list of class names and optionally class codes that can be used for instance in a certain map. Class domains are suitable for thematic maps for instance a land use map, a soil unit map, etc. The mapping units, i.e. the classes, have a certain meaning, should be represented by a certain color, probably have attribute information, and generally occur more than once in the map.

In a map with a class domain, the points, segments, polygons or mapping units use the class names as listed in the domain linked to that map. Points, segments, polygons or pixels without a class name are considered undefined.

When you create a class domain, you have to add all class names and optionally class codes to the domain yourself in the Domain Class editor. You can always add more classes to a class domain later on.

A class domain is always linked to an editable user-defined representation class. You can assign a color to each class of the domain but you can also assign a range of colors to multiple classes. For polygons, segments and points, there are also possibilities for hatching and patterns, for line types and line widths, and for symbols and symbol sizes, etc. For more information, see Representation Class editor.
All maps that use the same class domain will by default appear in the same colors. A class domain and its representation together form the legend of a map.

Maps with a class domain (or an identifier domain) can have an attribute table. The domain of the attribute table is the same as the domain of the map to which the table refers; the domain provides the record entries in the table. You can then add additional attribute information (in columns of the table) on each of the classes in your map.
Just as maps, each column has a domain to define the type of information you want to store in that column: when you want to store values in a column, use a value domain for that column; when you want to store class information in a column, use a class domain for that column, etc.

In MapCalc or TabCalc, you can calculate with specific classes by using double quotes around the class names or their codes.

Examples:

Tips:

See also: