GROUPRENDERER

Used in

CONFIG  REQUEST  RESPONSE  

Servers

Image  Feature  

Parent elements

GROUPRENDERER  LAYER  LAYERDEF  LAYERINFO  SCALEDEPENDENTRENDERER 

Syntax

<GROUPRENDERER >
     No Attributes

     (r)(m)<GROUPRENDERER... />
     (r)(m)<SCALEDEPENDENTRENDERER... />
     (r)<SIMPLELABELRENDERER... />
     (r)(m)<SIMPLERENDERER... />
     (r)<VALUEMAPLABELRENDERER... />
     (r)(m)<VALUEMAPRENDERER... />

</GROUPRENDERER >
(r): Attribute or child element is required.
(m):  Child element can be used multiple times.

Description

Groups two or more renderers together. Common uses are to group feature rendering and labeling, to use multiple scale-dependent renderers on the same layer, and to create complex symbology.

Restrictions


Notes

 

Examples for GROUPRENDERER

Example 1: Grouping a symbol and a label.
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <CONFIG>
    <ENVIRONMENT>
      <LOCALE country="US" language="en" variant="" />
      <UIFONT color="0,0,0" name="Arial" size="12" style="regular" />
      <SCREEN dpi="96" />
    </ENVIRONMENT>
    <MAP>
      <PROPERTIES>
        <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" name="Initial_Extent" />
         <MAPUNITS units="decimal_degrees" />
        <FILTERCOORDSYS id="4326" />
        <FEATURECOORDSYS id="4326"/>
      </PROPERTIES>
      <WORKSPACES>
         <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="CITIES" visible="true" id="2">
        <DATASET name="CITIES" type="point" workspace="shp_ws-0" />
        <GROUPRENDERER>
          <SIMPLERENDERER>
            <SIMPLEMARKERSYMBOL color="227,127,227" width="6" />
          </SIMPLERENDERER>
          <SIMPLELABELRENDERER field="CITY_NAME" labelpriorities="0,0,1,0,0,0,0,0">
            <TEXTSYMBOL antialiasing="true" font="Arial" fontstyle="bold" fontsize="12" printmode="alllower"/>
          </SIMPLELABELRENDERER>
        </GROUPRENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Back to top