Domain type Bool

Bool domains can only contain boolean values 1 (True), 0 (False) and undefined. Domain type Bool can be used for raster, polygon, segment and point maps and for columns which contains this type of values. You can use a Bool domain for instance to quickly discriminate whether a certain condition is true or not in any map, see the example below.

Bool domains are available as:

You can also create your own Bool domains, for instance containing "Suitable" and "Not Suitable".

Boolean domains have no representation: you have to select colors for True and False values each time you display a map with a Bool domain in the map's Display Options dialog box. The default colors for True and False can be set through the Preferences in the Main window.

Example:

To find all areas with forest in a land use map, type the following MapCalc statement and accept the Bool domain:

OUT = Landuse = "Forest"

See also: