Unique value rendering

Unique value rendering can be used to symbolize layers of types that allow configuration of symbology. This includes layers from ArcGIS Server dynamic map services, tables from Spatial Data Service endpoints, and SharePoint lists. For more information on the different layer types and their capabilities, refer to the Layer types topic.

About unique values

Unique values are sets of values, each of which is unique for a particular field or attribute within a given set of data. So if a set of data has a field called STATE_NAME that has values { Washington, Washington, Washington, Montana, Connecticut, Connecticut, Connecticut, Florida, Oklahoma, Oklahoma }, the set { Washington, Florida, Oklahoma } would be a valid set of unique values. Notice that, within the set of unique values, (1) no values are repeated and (2) there are no values that are not present in the actual data. A unique value renderer maps a set of unique values to a set of symbols.

As an example, suppose you have a buildings layer with an attribute that specifies how each building is zoned. To symbolize the buildings differently based on the zoning of each, you could define a unique value renderer that specifies a yellow symbol for residential, purple for industrial, blue for commercial, and so on, for every zoning classification.

Configuring a unique values renderer

The ArcGIS Map Web Part makes it simple to apply unique value rendering to a layer. To do so, follow the steps below:

  1. Choose the layer you want to configure unique values for on the Map Contents panel. For instructions, see The Map Contents panel.
  2. On the Symbols tab of the ribbon, expand the Renderer drop-down menu and choose Unique Values:
    Unique Values selection on Renderer drop-down menu
  3. Now configure the unique values renderer:
    • Changing the attribute—To change the field on which the symbols are based, expand the Attribute drop-down menu and choose the desired field:
      Attribute drop-down menu expanded
    • Changing the color scheme—You can apply a predefined color scheme to the renderer by clicking the Color Scheme button on the ribbon and choosing the desired color scheme from the list that appears:
      Color Scheme menu expanded

      The color scheme is applied differently depending on the geometry type of the selected layer:

      • For a polygon layer, the colors are applied to the fill colors of the polygons.
      • For a line layer, the colors are applied to the colors of the lines.
      • For a point layer, the color is applied to the selected point symbol. Note that colors will not be applied to picture symbols.

    • Configuring unique values—Options for modifying unique values are provided on the Scheme Options dialog box. Click the Scheme Options button on the Symbols tab of the ribbon:
      Scheme Options button

      The Scheme Options dialog box appears:

      Scheme Options dialog box

      • Changing the renderer and attribute—As with the drop-down menus on the ribbon, the Renderer and Attribute drop-down menus on the dialog box can be used to change the renderer and attribute, respectively.
      • Changing the color scheme—Just as you can on the ribbon, you can choose a color scheme from the Scheme Options dialog box. To do so, choose the desired scheme from the Color Scheme list:
        Color Scheme list
      • Selecting a value's symbol—To specify the symbol for one value, click the symbol to the left or the Down arrow to the right of the value:
        Symbol selector for specific value

        Then choose the desired symbol from the symbol picker:

        Symbol picker dialog

      • Modifying a value's symbol—To modify the symbol used by a value, first select the value from the right side of the dialog box. Then use the controls in the Current Symbol section of the dialog box to adjust the symbol's size, color, and transparency.

        Note that the size and color controls that are enabled vary depending on the geometry type of the selected layer. For further information about specifying a symbol's size and color, refer to the Single symbol rendering topic. The number of transparency sliders enabled also varies depending on the geometry type of the selected layer. For line and point layers, only one slider is enabled. In this case, the enabled slider determines the transparency of the entire symbol. For polygon layers, both sliders are enabled. The top slider determines the transparency of the symbol's fill, while the bottom slider determines the transparency of the symbol's border.

      • Adding or removing values—While the ArcGIS Map Web Part automatically determines the unique values that are present in a layer, you also can manually add or remove values. You might want to add values that are not present in the data, for instance, if you are using a Map Web Part to monitor a set of data that you know will be added to. Alternatively, you might want to remove values if you want to prevent features with certain values from being displayed on the map. To add a value, type the desired value into the Edit Values text box and click the Add button. To remove a value, choose the value to remove from the right side of the dialog box and click the Remove button.

8/12/2011