Mask by Value

From Pyxis public wiki
Jump to: navigation, search



Summary: Mask an input coverage based on values in a mask coverage.

Input:

  • Data Coverage (1 Coverage) The coverage which is being masked.
  • Mask Coverage (1 Coverage) The coverage to use as a mask for the data coverage.

Output: Coverage , Feature

  • Description: A new coverage that has the data of the data coverage masked by the data of the mask coverage.

Attributes:

  • Operating Mode Defines how the mask coverage will be used.
  • Data Value A value that may be used depending on the mask operating mode.

Details

This process is used to mask one coverage data set using another coverage data set.

To specify what coverage data you want the process to return:

1. In the Pipeline Editor, double-click the name of the Mask By Value process to open the Process Editor dialog box.

2. In the Process Editor dialog box, under Attributes, set the Operating Mode to one of the following:

  • Mask has data - Return the Data Coverage values only for the cells where the Mask Coverage has data.
  • Mask does not have data - Return the Data Coverage values only for the cells where the Mask Coverage has no data.
  • Mask data equals - Return the Data Coverage values only for the cells where the Mask Coverage has data that is equal to the Data Value attribute.
  • Mask data does not equal - Return the Data Coverage values only for the cells where the Mask Coverage has data that is not equal to the Data Value attribute.
  • Note: The default value for the Operating Mode attribute is Mask has data.

3. If you selected either Mask data equals or Mask data does not equal as the operating mode, enter the comparison value you want to use for the Data Value attribute.

Example

If you have a data set that has a black border that you want to eliminate, you could mask a coverage with itself and use the mode Mask data does not equal and set the Data Value attribute to black.

Or, if you had a good world data set but only wanted the data displayed in Alberta, and you had a second data set that contained the value 10 for all cells in Alberta, you could mask the world data set with the data set that knew about Alberta using the mode Mask data equals and setting the Data Value attribute to 10.

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki Navigation
Toolbox