A domain contains the set of valid IDs, class names or values that can be used in a map or a table. All ILWIS data objects (maps, tables, columns) need a domain. A representation can be linked to a domain, so that maps using the same domain can be displayed with the same colors.
This dialog box appears:
Dialog box options:
Name: |
Type a new name for the domain. |
Domain type: |
Select the domain type: |
Create a class domain when the elements in your map are classes which occur in several places in your map (e.g. soil units: clay, sandy loam). Subsequently, the domain Class/ID editor is opened where you can add all classes of this domain. |
|
Only select 'Group' if you want to create a domain Group with which you can permanently slice or classify the values in an image or in a value map. The domain Group editor is opened where you can add the upper boundary values of groups, group names, etc. See also tip 5 below. |
|
Create an ID domain when the elements in your map are uniquely identified (e.g. cadastral plots: 1024, 1025). |
|
Nr. of items: |
Type a value for the number of items that should be automatically added to this ID domain.
The maximum number of items that can be shown in the domain Class/ID editor is 100 million. |
Prefix: |
Type a (short) text that will be used as the prefix for all numbered IDs which will be automatically added to this domain. The IDs in this domain may appear for instance as My Prefix 1, My Prefix 2, etc. The default prefix is nr. In a prefix, it is allowed to use spaces and characters as @, #, etc., the colon character : however may not be used in a prefix. |
Bool: |
Create a Bool domain when the elements in your map may only use 2 possible codes (e.g. "Suitable" and "Not Suitable") or may be undefined. Subsequently, the Edit Bool domain dialog box will be opened. |
Create a value domain when the elements in your map represent measurable values (e.g. height, concentration). |
|
Min Max: |
Type values for the minimum and maximum value of this domain. This is also called the value range. The specified minimum and maximum values of a value domain will be used as the default minimum and maximum values for any new maps or columns that use this domain. When you create a representation for this value domain, the specified minimum and maximum values will determine the absolute lower and upper boundaries of that representation. |
Precision: |
Type a value for the precision of this domain. By specifying a precision of 0.01, all values will use 2 decimals; by specifying a precision of 25, all values will increase or decrease in steps of 25, etc. The combination of specified values for minimum, maximum and precision implies the store type of raster maps that use this domain. |
Width: |
Specify a value for the default width (i.e. the number of characters) to be used in other parts of the software by lists which show class names or IDs. By default, class names in class domains will be shown in 15 characters and IDs of an ID domain will be shown in 6 characters. If you are planning to use longer class names or IDs, you specify a larger width value. This domain width is used for instance in map editors when you are assigning class names/id's to points, segments, polygons and in tables when editing fields of class/id columns. The domain width can also be set in the Properties of a Class/ID domain. |
Description: |
Type a description for the domain. The description is visible on the status bar of the Main window when moving the mouse pointer over the domain in the Catalog. |
Tip 1:
It is advised not to create more than one domain for:
Instead, select the same domain as used before. It is not necessary that all IDs, class names or values actually occur in each map.
Tip 2:
Similarly, when creating an attribute table for a map, you should not create a new domain for the attribute table; the attribute table should use the same domain as the map to which the attribute table is related.
More tips:
When creating a new value domain, the default representation for that domain will be system representation Pseudo.
The Create Representation dialog box follows.
Representations for value maps are edited in the Representation Value/Gradual editor.
See also: