Changing the specification rule order for calculated fields

When new rules are added to accommodate new requirements, you might also need to change the order of the rules to ensure that the representation and text string rules are applied in the correct order.

The specification rule order determines the order in which rules are applied to your data. Specification rules are processed based on their Processing Order value—from lowest to highest—meaning that the results of one can be overwritten by the result of another. For example, given two specification rules: one that selects all features that have height field values greater than 0 and a second rule that selects features that have height field values between 5 and 10. The processing order is important, because if the specification rule that selects features with a height value between 5 and 10 is processed first (because it was created first), the rule for features with a height value greater than 0 will override the first rule's results. The Rule Order value shown in the rules table indicates the order in which the rules have been created, so it may be necessary to reorder the rules so they are applied in the order you want.

步骤:
  1. Choose the layer that contains the specification rules you want to reorder.
  2. Right-click the layer and click Properties.

    The Layer Properties dialog box appears.

  3. Click the Calculated Fields tab.

    Calculated Fields tab

  4. Choose the rules you want to move in the rules list.
    提示提示:

    You can choose multiple rules by clicking and dragging in the list or by holding down the CTRL or SHIFT keys while you choose rules.

  5. Right-click the selection, point to Processing Order, and choose the option you want to use to move the rules.
    • Move Up—Moves the selected rule or group of consecutive rules up one row within its specification
    • Move Down—Moves the selected rule or group of consecutive rules down one row within its specification
    • Move to Top—Moves the selected rule or group of consecutive rules to the top of the list of rules for its specification
      注意注意:

      This option is not available if one of the selected rules in a group is already at the top of the list.

    • Move to Bottom—Moves the selected rule or group of consecutive rules to the bottom of the list of rules for its specification
      注意注意:

      This option is not available if one of the selected rules in a group is already at the bottom of the list.

    • Move to Top Tightly—Moves a randomly selected, nonconsecutive group of rules to the top of the list of rules for its specification while retaining its processing order.
      注意注意:

      This option is not available if one of the selected rules is already at the top of the list.

    • Move to Bottom Tightly—Moves a randomly selected, nonconsecutive group of rules to the bottom of the list of rules for its specification while retaining its order.
      注意注意:

      This option is not available if one of the selected rules is already at the bottom of the list.

  6. Click Apply.

    The map is redrawn using the new rule order. Depending on the calculation method you are using, the processing order may be applied immediately.

  7. Click OK.
    提示提示:

    You can also right-click in the rules table to change the processing order.


10/2/2010