Cross can be directly executed by typing one of the following expressions on the command line of the Main window:
OUTTABLE |
= |
TableCross(FirstInputMap, SecondInputMap) |
OUTTABLE |
= |
TableCross(FirstInputMap, SecondInputMap, OUTMAP) |
OUTTABLE |
= |
TableCross(FirstInputMap, SecondInputMap [, OUTMAP] , IgnoreUndefs) |
OUTTABLE |
= |
TableCross(FirstInputMap, SecondInputMap [, OUTMAP] , IgnoreUndef1) |
OUTTABLE |
= |
TableCross(FirstInputMap, SecondInputMap [, OUTMAP] , IgnoreUndef2) |
where:
OUTTABLE |
is the name of your output cross table. |
OUTMAP |
is an optional parameter to create an output cross map. |
TableCross |
is the command to start cross and produce an output cross table (optionally with an output cross map). |
FirstInputMap |
is the name of your first input raster map (any domain). |
SecondInputMap |
is the name of your second input raster map (any domain). |
IgnoreUndefs |
an optional parameter to ignore undefined values in both maps; in the output cross table combinations with undefined values will not appear. |
IgnoreUndef1 |
an optional parameter to ignore undefined values of the first input map. |
IgnoreUndef2 |
an optional parameter to ignore undefined values of the second input map. |
Alias:
OUTMAP |
= |
MapCross(FirstInputMap, SecondInputMap, OUTTABLE) |
where:
OUTMAP |
is the name of your output cross map. |
MapCross |
is the command to start cross and produce an output cross map and an output cross table. |
For other parameters, see above.
When the definition symbol = is used, a dependent output table and/or a dependent map are created; when the assignment symbol := is used, dependency links are immediately broken after the output table and/or map have been calculated.
Furthermore, an ID domain is created (same name as cross table) which contains the combinations of domain items of both input maps. When an input map has a class or ID domain in which the class names or IDs have codes, then these codes will appear in the output domain.
See also: